3 ms·
Edit: adding a link to the Clean Code bit about comments, which I think is great advice : https://gist.github.com/wojteklu/73c6914cc446146b8b533c0988cf8d29#comm
by breck 8y ago
Edit: adding a link to the Clean Code bit about comments, which I think is great advice : https://gist.github.com/wojteklu/73c6914cc446146b8b533c0988cf8d29#comments-rules https://gist.github.com/wojteklu/73c6914cc446146b8b533c0988c...
- TeMPOraL 8y agoFrom the link, about comments: Use as explanation of intent. Use as clarification of code. Use as warning of consequences. Here's a link to a well-known recent book, half of which is pretty much about why those points are a real and frequent thing, and why code should be much more thoroughly commented than it's recommended by the usual philosophies. https://www.amazon.com/Philosophy-Software-Design-John-Ousterhout/dp/1732102201 https://www.amazon.com/Philosophy-Software-Design-John-Ouste...