A little "bit" of programming therapy
I have a new habit that I enjoy, even though I am certain it is getting on the nerves of my colleagues. Whenever I find a bug in a piece of logic I've written -- whenever I find I've used || instead of && or left out a !, I shake my fist at the sky and shout, at the top of lungs, "Damn you George Boole!" Try it. Very therapeutic. (actually I kind of whisper it under my breath most of the time)
'Peter McArthur' on Sat, 17 May 2008 09:30:14 GMT, sez: Didn't Arthur Conan Doyle take Boole as an inspiration for the character of Moriarty? "What if George Boole was an *evil* genius?" That sort of thing.
Just a thought.
'joker' on Wed, 15 Oct 2008 16:24:30 GMT, sez: The good part about a boolean value is that if you get it wrong, you're only off by a bit!
|