3 ms·
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 severa
by cellularmitosis 15y ago
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