...
Indent style
...
If I could go back in time and kill the whitespace fetishist that started that meme I would.
Why? It looks better with the whitespace.
...
while(x == y) { something(); somethingelse(); if(some_error) { do_correct(); } lastthing();}
God's formatting.
while(x == y) { something() ; somethingelse() ; if(some_error) { do_correct() } lastthing() }
Time Cube Formatting
t. wisest human and cubic
while(x == y) { something(); somethingelse(); if(some_error) { do_correct(); } else continue_as_usual(); }
It depends on the content. I only add white spaces where it makes sense. OP, your picture feels like the mobile-first design literally infested your code.
What a mess, i hope you never write code that others have to maintain
while(x == y) {something(); somethingelse();if(some_error) {do_correct();}lastthing();}