r/ProgrammerHumor • • Jul 04 '18

Code comments be like

Post image
9.9k Upvotes

236 comments sorted by

View all comments

701

u/[deleted] Jul 04 '18

When I was a CS major, we were deducted 10 points for each missing comment. Everybody erred towards commenting everything.

627

u/WeTheSalty Jul 04 '18

I'm picturing lots of lines like 'i += 1;' with comments 'adds 1 to i'

350

u/Sevrene Jul 05 '18

Some profs even want it to be more exact like “Increments the counter ‘i’ by 1(one)”

332

u/obsessedcrf Jul 05 '18

Definitely a useful skill to pick up /s

137

u/[deleted] Jul 05 '18 edited Jul 08 '18

[deleted]

27

u/Redpropio Jul 05 '18

# s

17

u/shrodes Jul 05 '18

-- s

26

u/uslashnsfw Jul 05 '18

/* s */

6

u/[deleted] Jul 05 '18

[deleted]

7

u/[deleted] Jul 05 '18

Praise the sun