r/shittyprogramming • • Apr 23 '19

Space efficient & lines up nicely

Post image
521 Upvotes

58 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Apr 23 '19

That makes functions with a large quantity of arguments or verbose arguments more readable imo

Edit: except for having the function keyword and name on different lines you monster

3

u/[deleted] Apr 23 '19

It gets even better in Java (and other languages with stuff like this):

public
static
void
main
(
    string[]
    args
)
{
    
    // do whatever

}