|
Yepp. You got to read my comment (and all source code) precisly
I hammered it out: "code should be self-explaining" - what does it mean
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
As per the title.
The 'No Comments' one only applies to code that is not obvious on first glance. Code that is obvious, like i++ , doesn't need a comment.
What do you get when you cross a joke with a rhetorical question?
|
|
|
|
|
I hate code which needs explations
bad
if(i >10) return -1;
without comment you are left in the dark
good
if(counter > MAX_ORDERS) return false;
all clear, lets do other stuff.
Press F1 for help or google it.
Greetings from Germany
|
|
|
|