Follow

RT @hillelogram@twitter.com

People keep bringing up

i++; //increment i by one

C'mon people, that's the literal definition of a straw-man! _Of course_ "your code isn't self documenting" doesn't mean "no line is ever self-documenting", and _of course_ "write more comments" doesn't mean "comment everything"! twitter.com/hillelogram/status

🐦🔗: twitter.com/hillelogram/status

Ideally a comment should provide context around a function or section of code, rather than a “this code does x”. I can read what it does, but code itself doesn’t tell me why.

Sign in to participate in the conversation
chaos.social

chaos.social - because anarchy is much more fun with friends.
chaos.social is a small Mastodon instance for and by the Chaos community surrounding the Chaos Computer Club. We provide a small community space - Be excellent to each other, and have a look at what that means around here.
Follow @ordnung for low-traffic instance-related updates.
The primary instance languages are German and English.