it seemed like a good idea at the time

in tribute to those ideas that seemed like such a good idea at the time.

here's one for the C programmers.

enum LOCAL_BOOL { TRUE, FALSE, MAYBE };

the names of the guilty parties have been removed to aviod embarisment. this was actually introduced as an "improved" Boolean

so far i have resisted the urge to use this
4,300 views 13 replies
Reply #1 Top
This string could vastly improve the new computerized balloting machines...
Reply #3 Top
There's that Boolean word again............
/me runs for cover and thrusts his crucifix at Bryce!!
Reply #4 Top
interesting question. i suppose a global_bool should be more all-encompasing. how about:

enum LOCAL_BOOL { TRUE, FALSE, MAYBE, SORT_OF, PERHAPS, LOOK_AND_SEE, I_DONT_REMEMBER };

Reply #5 Top
BoXXi runs for cover and thrusts his crucifix at Bryce!!

/me examines that earily familiar crucifix

why are there lots of little leaping dolphins all over your crucifix?
Reply #7 Top
enum LOCAL_BOOL { TRUE, FALSE, MAYBE, you CAN'T be serious, been nice knowing you }
Reply #8 Top
jafo, the worst part is the person "responsible" is the head of the programming dept!
Reply #9 Top
My Ada compiler just core dumped and brought down the server at the mere hint of boolean heresies. I would have been quite satisfied with a compilation error message.
Reply #10 Top
i now pronounce you a Proper Programmer!

you have achieved this by core dumping your compiler. always a deeply satisfying feeling that one minor bug in your program destoyed the compiler. however, did you really have to take down the server at the same time?

what sort of server is it? surely it should be a bit more robust than that?
Reply #11 Top
It's a SPARC running Solaris. The server is normally very robust, but it does seem to need a reboot every 2-3 weeks, and I think it was just waiting in the weeds for a good excuse. I'm certain that the file system realignment they were running at the time (and now have to restart )had nothing to do with it hehe.
Reply #12 Top
i always used to get a warm feeling of satisfaction when ever i managed to core dump our Zenix C compiler. i never managed to take down the server with it though, probably for the best.

i havent core dumped a compiler in months though

/me is getting withdrawal symptoms
Reply #13 Top
I suspect that core dumping the compiler is as spiritually rewarding as coughing up a furball, but I have not the requisite experience to be sure.