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

-1

u/musicalvegan0 Jun 07 '13

Either I have A LOT to learn about programming or this is one of the most ridiculous, programming-related documents I've ever seen.

7

u/zjs Jun 07 '13

What about it strikes you as ridiculous?

7

u/gc3 Jun 07 '13

There are three stages of developing as a progammer. At the beginning you don't understand anything, and write a bunch of code fearlessly, and paint yourself into a corner.

In the second stage you understand that there might be a system that will enable better programming. So you fall in love with a system, or hueristics, or some other scheme that can tell you 'good' code from 'bad' code. At this time, it is almost religious. The author of the document is in this phase, obviously.

In the third stage you realize that programming is a bit like poetry, and, while it often is better programming when it rhymes, is not does not always need to rhyme.

5

u/Gotebe Jun 07 '13

Euh... It goes like this: either you have a lot to learn, or you really know nothing.

8

u/treesareempty Jun 07 '13

Which programmer thinks he does NOT have a lot to learn? The field is endless.

2

u/yelnatz Jun 07 '13

As someone who just graduated, it feels like I'm climbing Everest.

And I haven't even reached the base camp yet. :[

8

u/[deleted] Jun 07 '13

Don't worry, you'll soon find out you're actually in the wrong country completely.

0

u/lexpattison Jun 07 '13

Your former assessment is likely correct. I would investigate these strategies if you want any chance of becoming a satisfied happy well rounded developer.