The brain is not strongly typed
You're a programmer. I don't care how smart you are: you continually cast a custom object into a boolean.Life calls for rapid decisions on all kinds of objects. Is this pizza is the one i want? if ((bool)pizza1 == true) { ...
We make such evaluations so often, and on so many different objects, that instead of implementing a 'ToBoolean' function on every single custom type that our mind encounters, we create a static function (ToBoolean) which uses some very dodgy reflection to cast absolutely any object in the world into a boolean result. It's a bad design. It speeds up processing, but at the loss of precision (and thus correctness) in the return variable. And it's too convenient. The static ToBoolean function is so damn fast, and readily available, that we use it all the time. A slight bug in your work is distorted into 'absolute failure'. Infact, almost everything becomes a false. And when you should be throwing 'invalid cast exceptions' all over the place, you are instead buisly comparing apples with oranges. This is a 'cognitive distortion'. This is the kind of stuff David Burns tells you how to get around. I wrote bout it a while back. Watch out for it. I use this saying as an antidote: nothing is black and white, everything is shades of grey. Say it with me, geeky people: nothing is black and white, everything is shades of grey. everything is shades of grey.
'adb' on Mon, 29 Aug 2005 13:17:00 GMT, sez: damn it, yes everything IS black and white. One and zero. On or off.
I work it, therefore I must be it. I can reduce all of my (work) problems to bits, life must be similiarly reducible.
Actually, I've long theorized that one of our problems as humans is that we're analogue life-forms trying to be digital...
'pds' on Mon, 29 Aug 2005 21:29:34 GMT, sez: The statement "nothing is black and white" IS A BLACK AND WHITE STATEMENT.
DID I JUST BLOW YOUR MIND?
'secretGeek' on Mon, 29 Aug 2005 22:15:08 GMT, sez: depends how you look at it, pds.
i choose not to look at it in a black and white way. So when i hear "nothing is black and white" -- i think, "well, almost nothing. some stuff probably is." and i just accept this.
but sure, on the surface it looks like a pretty black and white statement. or let's say, blue and green, to avoid any racist undertones.
you got yourself a blog yet, pds? you leave comments now and then, but you never leave a url.
'pds' on Tue, 30 Aug 2005 11:27:53 GMT, sez: Negative, I spread my detritus around on everyone else's blog, like a rat. :)
Pete
|
Articles
Just Wally
The Correct Order for a First Time Viewing of The Lord Of The Rings
A new era for Android.
Mind-boggling Demo of New Gaming Genre, aka Folder-Based Hangman, aka Fun with Recursion
Got CSV in your javascript? Use agnes.
Complete secretGeek Archives
TimeSnapper: automatic screenshot journal
NimbleText: Code Generator, Text Manipulator, Data Extractor
25 steps for building a Micro-ISV
3 Minute Guide Series
Universal Troubleshooting Checklist
Top 10 SecretGeek articles
ShinyPower Now at CodePlex
RealTime Online CSS Editor
Gradient Maker
How to be depressed
You are not inadequate.
Recommended Reading
 the little schemer
The Best Software Writing I
The Business Of Software (Eric Sink)
Recommended blogs
Jeff Atwood
Joseph Cooney
Phil Haack
Scott Hanselman
Julia Lerman
Rhys Parry
Joel Pobar
Thomas White
OJ Reeves
Eric Sink
Aggregated Links
proggit
dzone
hacker news
dot net kicks
Human Link Machines
interesting finds
a continuous learner's weblog
arjan's world
weekly link post
LogEnvy - event logs made sexy
Computer, Unlocked. A rapid computer customization resource
PhysioTec, Brisbane Specialist Physiotherapy & Pilates
|