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

Search

Page 1 of 12 (114 items) 1 2 3 4 5 Next > ... Last »
  • Re: Comments vs. Meaning

     I think my favorite comment ever seen in production code:  count++; // Increment count
    Posted to "Side Bar" WTF (Forum) by Cat on 05-18-2013
  • Re: Save some work

    [quote user="dkf"]It seems to be quite a common concept with a certain type of coder. Exhibit #1: MUMPS[/quote]  That's amusing, because I actually *am* a MUMPS coder (though I think that article has many inaccuracies). MUMPS does allow direct access to its database just like it was a variable, so yes you can read and write ...
    Posted to "Side Bar" WTF (Forum) by Cat on 05-03-2013
  • Re: YouTube closed captions

    I like this one. It opens with my favorite 'translation' of Jeremiah 12:5: "its allies drug the postman and they have delivery, then open self-contained resort.  I meet the demands of with ease off basically everything without with film twenty stores".
    Posted to "Side Bar" WTF (Forum) by Cat on 05-02-2013
  • Re: Save some work

    [quote user="DrPepper"]There must be a antipattern for this; does anyone know the name? if (this.somePropName != '') {   this.somePropName = ''; } After all, why set the value when it is already that value? Surely it must be faster to skip the assignment operator.... [/quote]  Actually, for ...
    Posted to "Side Bar" WTF (Forum) by Cat on 05-02-2013
  • Re: "break"? What is this you speak of?

    [quote user="bardofspoons42"] On a whim, I ran NDepend against the wonderful code base that exists here, to see what sort of thing it would find (Methods with 13 parameters, several constructors with well over 100 lines of code, a class with 123 instance methods, another with 153 static methods). Looking into one of the methods it ...
    Posted to "Side Bar" WTF (Forum) by Cat on 05-01-2013
  • Re: We need to schedule a meeting for year 2039! Now!

    Reminds me of scheduling a recurring meeting with about 15 people from another organization.  Now, I sent a standard Outlook recurring invite, but apparently their system doesn't "do" recurring meetings, so it actually made about 20 years of non-recurring instances. And when each person accepted the invite, it sent the ...
    Posted to "Side Bar" WTF (Forum) by Cat on 05-01-2013
  • Re: So I just took a few placement tests for my worthless Computer Science major

    1. It's a Bachelor of Science degree.  Every such degree must include science courses.  I don't think 12/120 credits of science is really asking a lot. 2. Every college degree of any kind requires meeting the general educational requirements of that university.  Again, it's just 12 credits (I won't count ...
    Posted to "Side Bar" WTF (Forum) by Cat on 04-12-2013
  • Re: Representative line: int gender

    [quote user="jasmine2501"][quote user="Cat"]  We have a number of genders available by default (medical software).  Male, Female, Unknown, Other, and Refused to Specify.  There are actually good reasons (for us) to do a similar (yet less WTF-y) "not-male" check.  Any gender except male shows ...
    Posted to "Side Bar" WTF (Forum) by Cat on 04-10-2013
  • Re: Representative line: int gender

     We have a number of genders available by default (medical software).  Male, Female, Unknown, Other, and Refused to Specify.  There are actually good reasons (for us) to do a similar (yet less WTF-y) "not-male" check.  Any gender except male shows warnings about requiring pregnancy tests before certain procedures, for ...
    Posted to "Side Bar" WTF (Forum) by Cat on 04-07-2013
  • Re: The Downward Spiral (a company WTF)

    [quote user="Mason Wheeler"] I got invited to speak at a conference in Australia a few weeks ago.  The international flight was well over 12 hours.  I brought along some books (Brandon Sanderson's Mistborn trilogy--well worth reading BTW) to keep me company.  An e-reader (even a Kindle) would never have lasted that ...
    Posted to "Side Bar" WTF (Forum) by Cat on 04-05-2013
Page 1 of 12 (114 items) 1 2 3 4 5 Next > ... Last »
Powered by Community Server (Non-Commercial Edition), by Telligent Systems