Remix.run Logo
reactordev 4 days ago

Should stick a (2017) on there as this is almost a decade old.

Comments should explain. If it’s why, it’s why. If it’s what, it’s what. The point of comments is to explain, to the reader/editor, what the intent of the code is and how you chose to approach it. That’s it. No need to fight over what, why, how, who, etc.

If you have domain knowledge that helps support the code, maybe a link to further reading, by all means add it to comments please!