Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think you are missing the point there. Sure, I completely agree with you that those comments are crucial, but they are not informing about the code doing a swap, they are explaining the need of the applied workaround.


That's precisely the point. In most cases, what your code is doing should be obvious; the why, as others have stated, would be otherwise completely out-of-band information, which explains the necessity for comments.




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

Search: