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

Search

Page 1 of 12 (120 items) 1 2 3 4 5 Next > ... Last »
  • Re: This makes me sad and angry

    [quote user="ubersoldat"]Even the existence of this method, the single idea of "I know, I'll write a function to do this" is a bigger WTF than the implementation itself.[/quote]   You never know when the language might decide to change the meaning of operator !.   Now, rather than change every piece of ...
    Posted to "Side Bar" WTF (Forum) by Cat on 06-06-2013
  • Re: Do any of the WTFers every recognise their code here?

    My company is the one that generated this article (although in our defense, much of the alleged WTF-ery is erroneous or misleading, and most of the rest is highly outdated).
    Posted to "Side Bar" WTF (Forum) by Cat on 06-06-2013
  • Re: Industries to avoid

    [quote user="ObiWayneKenobi"] So which industries as a developer/IT pro should we avoid like the plague?  In my experience I'm adding both any kind of law and medical/healthcare to my list; these places almost always seem to be full of WTFery and hacks upon hacks because of the outright crazy amount of legal things they need to ...
    Posted to General Discussion (Forum) by Cat on 06-05-2013
  • Re: So I got this job offer...

    [quote user="mikeTheLiar"]Not to mention the fact that it would have gotten you out of Madison-fucking-Wisconsin.[/quote] Madison's actually a pretty great place to live.
    Posted to "Side Bar" WTF (Forum) by Cat on 06-04-2013
  • Re: Line numbers... in 2002

    [quote user="morbiuswilters"]So basically this is a stupid way to force a pointless low-level optimization in Basic. Gotcha.[/quote]  It could (in certain applications) be a very substantial speed improvement, if you had a substantial amount of branching. And not everyone gets a choice of language.  If you're being forced ...
    Posted to "Side Bar" WTF (Forum) by Cat on 05-28-2013
  • Re: Line numbers... in 2002

    [quote user="morbiuswilters"] I think a better way of saying that would be "computed gotos could be used to create jump tables in Basic, if you were an idiot." And while a jump table makes sense in C, why you would create one in Basic using computed gotos instead of just creating a switch statement with literal gotos (which ...
    Posted to "Side Bar" WTF (Forum) by Cat on 05-26-2013
  • 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
Page 1 of 12 (120 items) 1 2 3 4 5 Next > ... Last »
Powered by Community Server (Non-Commercial Edition), by Telligent Systems