About The Contest

The first ever Olympiad of Misguided Geeks contest at Worse Than Failure (or OMGWTF for short) is a new kind of programming contest. Readers are invited to be creative with devising a calculator with the craziest code they can write. One lucky and potentially insane winner will get either a brand new MacBook Pro or comparable Sony VAIO laptop.



Entry #100149: calc

by Bernie Whalen
This is my calculator which I have called, to steal a line from Patrick J. LoPresti (The True Path), calc because it is the standard calculator. When I want to calculate something I use calc not a computulator or an arithmulator and certainly not a HP48RPNulator.

The requirements for calc were very simple. First I wanted to use the most infamous data structure of all, the C string for all arithmetic and second I wanted to avoid wimpy object oriented design and C++isms as much as possible. Granted due to: 1) not a lot of time and 2) I'm lazy I didn't make this a pure a C program but I think

Download0 Comments