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

I've noticed most coding style tips only make sense in concert. I'm assuming the reason you got bitten was that you were looking at a function which was several pages long (ie, you didn't have time to read the entire function before makin an edit). The early return thing is a strategy I definitely subscribe to, but I works best when you favor lots of small functions rather than few long unctions


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

Search: