Hacker News new | past | comments | ask | show | jobs | submit login

Why?



Because it's a comment that has no bearing on how the code works. If you make another change to that same file, feel free to update the comment as well. PRs that do nothing but fix a typo in a single word in a comment are useless. Maybe if your PR has several cosmetic/docu type changes throughout once the codebase is stable and working, I could see a pass going through to clean up things like this. However, as asked, no, it is not useful.


Many people dislike commits that make changes to code that has no relation to the thing being done.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: