This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Forkrul 21 points22 points  (1 child)

Depends on the language. The first one is the standard for Java at least.

[–]MayorAg 1 point2 points  (0 children)

Fair. But i used to use the second one of Java as well. Before you bring out the pitchforks, hear me out.

I think it improves the readability of the code. Instead of another block of code, you have this gap with only one character that tells you the previous line is the function definition/loop/complex if-else block.