• CalliArcale (unregistered)

    This reminds me very much of a WTF I myself committed back when I was a fairly green engineer.  I was developing a test suite which would ultimately be used to validate hardware prior to sale.  Buried within one of the tests was a WTF of a variable:

    int passfail;

    passfail would be set to one of three values: 1, 2, or 3.  1 was fail.  2 was pass.  I no longer remember what 3 was supposed to signify, but I think it was supposed to indicate an error condition.  There are several levels of WTF in that one variable, not the least of which was that it was so counterintuitive that I even tended to get confused as to what the various values were supposed to signify.

  • DingDong (unregistered) in reply to LibertyToad

    paid programmer i suppose: i mean who has paid money to become a programmer!

  • Jim (unregistered)

    Well they are ISO certified and the specs says that's you must have a getter and a setter on each property :D

Leave a comment on “Outsourced Property Value”

Log In or post as a guest

Replying to comment #:

« Return to Article