2 ms·
I use foobar every day (shamefully often in printf style "execution reached this branch style" debugging I'll admit). Often I'll have foo in one branch and bar
by noir_lord 13y ago
I use foobar every day (shamefully often in printf style "execution reached this branch style" debugging I'll admit).
Often I'll have foo in one branch and bar in the other.
Along with all for loops using n as the control variable (blame a kids book on basic I read in the 80's for that one) it is so deeply embedded I literally don't realise I'm doing it.
As an aside: if you are a PHP programmer (please hold the jokes) and haven't seen FirePHP check it out (it also supports Chrome/Chromium), it allows you to dump server side stuff to the client console (via some header magic) and mostly doesn't (I've never seen it happen but not saying it's not possible) break anything (even on ajax requests which is a nice ancillary benefit).
- ScottBurson 13y agoThere's nothing shameful about printf-style debugging.
- noir_lord 13y agoOh I don't feel any shame but admitting it does tend to get you a torrent of abuse from programmers of that "type" and I suspect most people will know what I mean. I don't have time for zealots so I head it off where I can.