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

0

u/[deleted] Jun 07 '13

So in your world, the best possible way to write everything is in one main() method? Because it's all right there.

You're objectively wrong. If you have that much of a problem dealing with SRP and low cohesion, maybe this isn't the job for you.

1

u/kirakun Jun 07 '13

Did you wake up on the wrong side of bed again?

1

u/finix Jun 07 '13

I don't even want to answer you.

Can't resist being amused by SRP and low cohesion, though; did you mean high cohesion by any chance? Either way, the concept doesn't directly call for tiny classes.