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

You're lucky that you have him.


Not really because none of his commits have any context on what the purpose any of his changes are actually for. He never describes why he does anything, just that he is changing something (which is obvious from the code).

It's the git equivalent of "useless comments" like `int x = 10; // set x to 10`


In my opinion, commits aren't a record of why. They are a record of what. Commit messages a shorthand of what for easier skimming.

Comments answer why (and even 'what' is fine if the code is difficult.)

But simple rules like that always have exceptions.




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

Search: