+ 5
Joke: Real programmers donât comment their code. If it was hard to write it should be hard to read.
11 Respostas
+ 7
taken from the guide
"How to program !correctly"
+ 7
you forgot the [joke] tag
+ 5
When you are writing code, comment as if the next guy managing your program is a homicidal maniac who knows where you live.
+ 2
what does it mean, "real programmers"????, if ur code contains 1000 line, i am sure, u forget in one week everything..
+ 2
There is a problem. A big programmer works alone. The real programmers work in team. So to comment code is necessary
+ 1
How do you forget 100 lines of code definately which is related. If you'd sayed 1000 classes it would have been true. But lines nooo thats too minimal.
+ 1
yeah tell that to the guy who will work with your code after you
+ 1
I'm really excited about this c++ app !
+ 1
"Real" in the sense that anyone who's struggled with poor instructions/guidance should immediately laugh at the false use of 'real'...because we imagine people to be mostly altruistic and this is arguably 'not'.
+ 1
Up to a point, you hope your code is mostly self-documenting. If you have to read a comment to understand something you can argue what you're doing isn't clear enough.
Convention develops as a result (like i,j,k for iterators - from people who've used matrices) and this built-in 'meta' behavior (the choices of programmers) means you're not memorizing programs...you're reading according to a convention...and that other programmers can identify you as doing what they do.
0
wenn u write Hello World, u do not need the comment:D