3 ms·
How strange - I've always found comments useful. As I'm not a developer but sometimes have to edit different files in the code just to enable/add in new paramet
by wastedhours 6y ago
How strange - I've always found comments useful. As I'm not a developer but sometimes have to edit different files in the code just to enable/add in new parameters (so engineering resource isn't needed to be planned in), it's always been helpful to have explicit guidance in the code as to what I'm reading is doing. Still get a code review afterwards anyway, but minimises risk.
If you're expecting non-developers to sometimes interact with your code or to help with troubleshooting, in-line comments will always be appreciated.
- biddlesby 6y agoThis is a great point. You might take a different approach depending on when you expect your reader to already be proficient in the language or the framework, compared to whether a non-developer might be reading the code. One argument against these kind of comments is that they aren't the right place to teach somebody a programming language. However I can definitely see cases where they are justified.