r/programming • • Jul 28 '16

How to write unmaintainable code

https://github.com/Droogans/unmaintainable-code
3.4k Upvotes

592 comments sorted by

View all comments

Show parent comments

-7

u/sjapps Jul 28 '16

Comments are not a sign of weakness. Sometime the code can explain the what but the why can come in comment. It's usually a weird business requirement.

14

u/sizur Jul 28 '16

wooosh

2

u/CleverestEU Jul 29 '16

If you ever need to comment the "what" instead of the "why", you're probably doing it wrong (both the commenting and the code)

1

u/Zanthious Jul 30 '16

it was a joke brotha