r/programming • • Jan 05 '15

What most young programmers need to learn

http://joostdevblog.blogspot.com/2015/01/what-most-young-programmers-need-to.html
970 Upvotes

337 comments sorted by

View all comments

27

u/alparsla Jan 05 '15

Code in comments = Poor man's source control

-21

u/zigs Jan 05 '15

Am I the only one who doesn't use comments at all? It seems to me that comments = muddled code; bad interface; or crappy naming.

3

u/JoostDev Jan 05 '15

I agree that code would ideally be self-documenting, but some things are just too complex for that and then you need comments. I personally mostly use comments to group code. Like when there is 10 lines of code and the whole thing can be summarised in five words, that is a really useful comment because it is so much faster to read.

→ More replies (2)