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

I carefully read my patches before I commit them. Probably sounds pretty obvious, but I find that I can catch most problems by simply running "git diff" and then carefully and slowly reading through the output.

This is especially true when I'm editing existing code rather than checking in new functionality. I read the diff while mentally asking myself "is this going to change anything other than what I intended it to change".



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

Search: