You don't even have to leave your chair. Login and vote now.
By bloid
via blog.slickedit.com
Published: May 11 2007 / 01:54
Let me share one of my favorite little programming idioms … do { … } while (false); I picked it up from a friend who learned it from a friend, who probably saw it in a book. It may seem like a do-nothing, but it is a very nice low-budget and high performance exception handling mechanism.
Comments
bloid replied ago:
I'd never seen this before...
*blush*
It's quite cool :-)
bloid replied ago:
hahaha...looks like everyone hates this then? ;)
bloid replied ago:
Ooooh... More up votes than down now...
daniel replied ago:
Disturbingly cool.
Jim Wilson replied ago:
It feels so ... dirty ... but yet alluring at the same time...
-head explodes-
bloid replied ago:
hahaha :-)
Voters For This Link (12)
Voters Against This Link (10)