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

Follow

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

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!