Hacker Newsnew | comments | show | ask | jobs | submit login

It should be fine to commit when drunk, that's what VCS is for. Make it tag the last sober commit and disable "git push -f" instead.



And it goes beyond being drunk: sometimes I code when I'm tired but can't sleep. I have a vcs to ensure I don't trash something irretrievably; also tests and ideally a decent type system to increase the chances my code does what it should.

-----




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: