r/shittyprogramming • • Apr 23 '19

Space efficient & lines up nicely

Post image
521 Upvotes

58 comments sorted by

View all comments

Show parent comment

24

u/normaldude8825 Apr 23 '19

Why not:

function f()          {    //start writing on this line
                           //continue on this line
//finish on this line }

20

u/the1krutz Apr 23 '19

function f() { /* stuff inside the function */ }

How's that for vertical space saving, chumps?

0

u/[deleted] Apr 23 '19

[deleted] — view deleted comment

6

u/Lairo1 Apr 23 '19

Dear God why

4

u/Dmium Apr 23 '19

I can't test it right now but I seem to recall you can do this with the use of semicolons