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

> It’s really hard to keep comments up to date as code is moved and refactored

I agree with this, but if the explanation for logic has good reason to be there, then keeping comments up-to-date with code changes is very important and it goes back to seniority and empathy I mentioned earlier - if you understand why its there in the first place, and you actually like rest of your team, you are doing too all of you a big favor with updates of comments.

Each of us has different threshold for when some text explanation should be provided, which is source of these discussions. But again back to empathy, not everybody is at your coding level, you can save a lot of new joiner's time (and maybe a production bug or two) if they can quickly understand some complex part.




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

Search: