Same here. Comments are often either misleading/outdated or extremely redundant (“//now I’m adding two things together!”). And the compiler doesn’t care. Also less emphasis on comments I think drives more emphasis on clear code. “Code should read like a book”.https://twitter.com/Chrikomu/status/1191778623784734721 …
Good code can go way further than any comments to convey actual reliable understanding of what’s going on. But if you’re not dealing with good code then yeah- you’ll need the comment crutches!
-
-
True. In my limited experience, I think that at a certain point, despite all the reviews, clean-up and sprints dedicated for code efficiency, every code rots. Devs won't remove some code cuz it will break a feature. Sometimes refactoring's nightmare. Commenting is practical.
-
All very good points. I don’t think I’ve run into a situation where code doesn’t devolve over time ha. So you might be embracing the much more realistic approach....
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.