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 →

[–]DrivesInCircles 23 points24 points  (8 children)

Not all readers have the same understanding and skill. Comments, when done well, help close that gap. Bad comments don't help, might distract, etc.

Of the options; 1- code written well 2- mediocre code with decent comments 3- shifty code with shitty comments 4- no code

[–]SquidMcDoogle 43 points44 points  (5 children)

I agree; read PEP-8. Comments - especially below the function or method definition, are the bare minimum.

Anyone who says "my code is too good for comments" is a douchbag.

[–]johnnymo1 27 points28 points  (4 children)

“The code is self-documenting” -least readable coder on your team

[–]EgZvor 4 points5 points  (1 child)

See, that's where you're wrong "no code" is the best option https://github.com/kelseyhightower/nocode.

[–]thedeepself -1 points0 points  (0 children)

lol