Turns out you can omit the braces in `do {} while ...
# random
k
Turns out you can omit the braces in `do {} while ()`:
Copy code
do step() while(true)
n
Isn't surprising since the same can be done with if, else if, else provided everything fits comfortably in a single line.
k
True, still feels dirty simple smile
n
Not really 🙃 . Just like many other language features it is open to abuse.