The Daily WTF: Curious Perversions in Information Technology
Welcome to TDWTF Forums Sign in | Join | Help
in Search

Entry #100022 - Hardcode

Last post 06-11-2007 12:09 PM by Alex Papadimoulis. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 06-11-2007 12:09 PM

    Entry #100022 - Hardcode

    I'm sure lots of people are doing something like this, but what the heck. The results of the tests are hardcoded, spitting out the answers at the correct times. Since the results it gives are independent of what you press, I simplified the interface by putting all the labels on the same button. Also, intermediate numbers appearing when you press buttons are not part of the specification, so you don't get them. There should be the answer only when you press '=' as you run through the test cases.
Page 1 of 1 (1 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems