Hacker News new | 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.

Applications are open for YC Summer 2018

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