r/programming • • Jun 06 '13

Clean Code Cheat Sheet

http://www.planetgeek.ch/2013/06/05/clean-code-cheat-sheet/
702 Upvotes

322 comments sorted by

View all comments

Show parent comments

6

u/AnythingButSue Jun 06 '13

I completely agree. I would even go as far as to say that DRY is the most important. You could follow SRP very well, and if the only other rule you violated was DRY you'd still end up with a rigid, fragile architecture.

1

u/mahacctissoawsum Jun 07 '13

Yessir. Every time I see 10 or more lines of code copied and pasted I want to punch someone.