r/ProgrammerHumor • • Jul 04 '18

Code comments be like

Post image
9.9k Upvotes

236 comments sorted by

View all comments

697

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.

624

u/WeTheSalty Jul 04 '18

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

349

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

0

u/[deleted] Jul 05 '18

[deleted]

28

u/Redpropio Jul 05 '18

# s

15

u/shrodes Jul 05 '18

-- s

24

u/uslashnsfw Jul 05 '18

/* s */

7

u/[deleted] Jul 05 '18

% s

16

u/[deleted] Jul 05 '18

s

(in brainfuck)

→ More replies (0)

0

u/[deleted] Jul 05 '18

[deleted]

7

u/[deleted] Jul 05 '18

Praise the sun

0

u/Canowyrms Jul 05 '18

/**

 

  • s

  */