• (cs)
    "WY! => "Why Not!"
    
  • Matteo (unregistered)

    TRWTF is php of course.

  • Anonymous penguin (unregistered)

    "2dn" => "Sceond"

  • (cs)

    Full of rage, Bruce shakes his fist at the computer screen. "Don't make me angry, mildly-WTF code. You wouldn't like me when I'm angry", he states. Next thing you know, Bruce's right index finger grows to twice its normal size. The transformed digit has become green and veiny. "HULK SMASH! WHERE 'SUBMIT WTF' BUTTON?! ARRRGGHHH!!!"

  • $person_name (unregistered)

    Give that coder a military programming contract. They're ready!

  • Bleat (unregistered)

    I don't see the problem. I have to get up at the crack of Wyoming every day.

  • (cs)

    But what about the other 49 states? I personally need to know when it's Texas o'clock!

  • (cs)

    It's obviously code language for use in a Spy system

  • Born Texas Proud (unregistered) in reply to snoofle
    snoofle:
    But what about the other 49 states? I personally need to know when it's Texas o'clock!
    With the brief exception of 'WY', it's always Texas-o'clock.
  • (cs)

    "WTF" => "Brillant!"

  • Kharalhov (unregistered)

    TRWTF is "" => "".

  • (cs)

    What programming language uses '=>'?

  • kikito (unregistered)

    That is not a line ಠ_ಠ

  • Buzer (unregistered) in reply to Anketam
    Anketam:
    What programming language uses '=>'?
    PHP for associative arrays.
  • Barteke (unregistered) in reply to Anketam

    Our beloved PHP does.

  • Kempeth (unregistered)

    WY, indeed!

  • imMute (unregistered) in reply to Buzer

    As well as Perl as a "fat comma".

  • asdf (unregistered)

    For some reason, it reminds me Balmer's "Except in Nebraska!"

  • ¯\(°_o)/¯ I DUNNO LOL (unregistered) in reply to Anketam

    Perl does, for initializing hashes, only it doesn't use the "array" keyword to do it.

  • Curry (unregistered) in reply to Buzer
    Buzer:
    Anketam:
    What programming language uses '=>'?
    PHP for associative arrays.
    Or C#, when declaring lambda functions.
    var rslt = intArray.Select(num => num < limit);
  • caffeine (unregistered) in reply to imMute
    imMute:
    As well as Perl as a "fat comma".

    I have a son who's a comma, and obesity is no laughing matter.

    In Australia it is easier....

    $times = array( "" => "", "12:00:00" => "beer o'clock", "17:00:00" => "happy hour", "01:00:00" => "last drinks, I'll take a slab to go...", "VB" => "only if you have nothing else");

  • Stev (unregistered)

    TRWTF is that people don't get the 24hour clock. And no, it's not "Military time", the military just happens to use it.

  • (cs)

    Except the military in Wyoming, that is.

  • Todd Lewis (unregistered) in reply to $person_name
    $person_name:
    Give that coder a military programming contract. They're ready!

    Who's ready, the coder, or the military? (Actually, I don't want that code anywhere close to lethal weapons.)

  • (cs)

    Scala too:

    scala> def format(input: String) = input match { | case "12:00:00" => "12:00 pm" | case "18:30:00" => " 6:30 pm" | case "WTF" => "Wyoming" | } format: (input: String)java.lang.String

    scala>

    scala> println("12:00:00 -> " + format("12:00:00")) 12:00:00 -> 12:00 pm

    scala> println("WTF -> " + format("WTF")) WTF -> Wyoming

  • Your Name (unregistered) in reply to Todd Lewis
    Todd Lewis:
    $person_name:
    Give that coder a military programming contract. They're ready!

    Who's ready, the coder, or the military? (Actually, I don't want that code anywhere close to lethal weapons.)

    Looking at the performance of American military in recent years (I mean since the end of WWI), even code as bad as this would make a great improvement...

  • mrfr0g (unregistered) in reply to Buzer

    Any array can be defined by =>

    $foo = array(1, 2, 3, 4); // Equals $bar = array(0=>1, 1=>2, 2=>3, 3=>4); // 5.4 $foobar = [1, 2, 3, 4];

    Secundum - You came in just after first, but require a photo finish to prove you are secundum.

  • big picture thinker (unregistered)

    TRWTF is they forgot:

    "12:01:00" => "12:01 pm" "12:02:00" => "12:02 pm" "12:03:00" => "12:03 pm" "12:04:00" => "12:04 pm" "12:05:00" => "12:05 pm" "12:06:00" => "12:06 pm" "12:07:00" => "12:07 pm" "12:08:00" => "12:08 pm" "12:09:00" => "12:09 pm" "12:10:00" => "12:10 pm" "12:11:00" => "12:11 pm" "12:12:00" => "12:12 pm" "12:13:00" => "12:13 pm" "12:14:00" => "12:14 pm" "12:15:00" => "12:15 pm" "12:16:00" => "12:16 pm" "12:17:00" => "12:17 pm" "12:18:00" => "12:18 pm" "12:19:00" => "12:19 pm" "12:20:00" => "12:20 pm" "12:21:00" => "12:21 pm" "12:22:00" => "12:22 pm" "12:23:00" => "12:23 pm" "12:24:00" => "12:24 pm" "12:25:00" => "12:25 pm" "12:26:00" => "12:26 pm" "12:27:00" => "12:27 pm" "12:28:00" => "12:28 pm" "12:29:00" => "12:29 pm"

  • Brock Pleatpants (unregistered)

    You forgot "Beer O'Clock"! Amirite?

  • TheJonB (unregistered) in reply to big picture thinker
    big picture thinker:
    TRWTF is they forgot:

    "12:01:00" => "12:01 pm" (...) "12:29:00" => "12:29 pm"

    Now do it again and include the seconds or it's not funny.

  • (cs)

    Some inside joke WTF should not be published. I am finding hard to get joke here.

  • will (unregistered) in reply to TheJonB

    We require timing down the the millisecond.

    Captcha: Oh Yes Wyoming

  • null (unregistered) in reply to TheJonB
    TheJonB:
    big picture thinker:
    TRWTF is they forgot:

    "12:01:00" => "12:01 pm" (...) "12:29:00" => "12:29 pm"

    Now do it again and include the seconds or it's not funny.

    Now do it again and include miliiseconds or it's not funny.

  • Oh boy (unregistered) in reply to null
    null:
    TheJonB:
    big picture thinker:
    TRWTF is they forgot:

    "12:01:00" => "12:01 pm" (...) "12:29:00" => "12:29 pm"

    Now do it again and include the seconds or it's not funny.

    Now do it again and include miliiseconds or it's not funny.

    Now do it again and include spider monkeys or it's not funny.

  • dguthurts (unregistered) in reply to Brock Pleatpants
    Brock Pleatpants:
    You forgot "Beer O'Clock"! Amirite?

    Yes, urite, they sure did.

    And no. It's not needed as it's always "Beer O'clock" somewhere.

    <<downs beer>>

  • BitDreamer (unregistered) in reply to kikito
    kikito:
    That is not a line ಠ_ಠ
    Yes it is. It is a "functional line". This is not the same as SLOC, which is how some programmers are paid.
  • (cs) in reply to Bleat
    Bleat:
    I don't see the problem. I have to get up at the crack of Wyoming every day.

    "Wye Knot?"

  • (cs) in reply to Bleat
    Bleat:
    I don't see the problem. I have to get up at the crack of Wyoming every day.

    So long as it's "Wye Knott," this is good. (thanks, Heinlein)

  • foo (unregistered) in reply to Oh boy
    Oh boy:
    null:
    TheJonB:
    big picture thinker:
    TRWTF is they forgot:

    "12:01:00" => "12:01 pm" (...) "12:29:00" => "12:29 pm"

    Now do it again and include the seconds or it's not funny.

    Now do it again and include miliiseconds or it's not funny.

    Now do it again and include spider monkeys or it's not funny.

    Now do it again and include nobody expects the Spanish inquisition.

  • Hilarious Dudebro (unregistered) in reply to foo
    foo:
    Oh boy:
    null:
    TheJonB:
    big picture thinker:
    TRWTF is they forgot:

    "12:01:00" => "12:01 pm" (...) "12:29:00" => "12:29 pm"

    Now do it again and include the seconds or it's not funny.

    Now do it again and include miliiseconds or it's not funny.

    Now do it again and include spider monkeys or it's not funny.

    Now do it again and include nobody expects the Spanish inquisition.
    Now do it again and include boobies, bacon, Tim Tebow, unicorns, bears, beers, ponies, kittens, transvestites, hookers, and blow.

  • Hmmmm (unregistered) in reply to Hilarious Dudebro
    Hilarious Dudebro:
    Now do it again and include boobies, bacon, Tim Tebow, unicorns, bears, beers, ponies, kittens, transvestites, hookers, and blow.
    And it still won't be more than midly amusing (if that)...
  • Kevin S (unregistered)

    Don't you get it?

    If the date() function returns Wyoming, it will surely be the end of $times

  • (cs) in reply to ParkinT
    ParkinT:
    "WY! => "Why Not!"
    
    "WY!" => "Because we like you!"
    

    M... O... U... S... EEEEEEEEEEEEEEEEEEEEEEEEEEEEE!

  • Ibi-Wan Kentobi (unregistered)

    Of course, Wyoming is TRWTF.

  • Ralph (unregistered)
    "18:30:00" => " 6:30 pm"
    So this creature is taking a correctly formatted time and mangling it into some abomination? Let the date/time format wars begin! Kill! Kill!! Kill!!!
  • Hilarious Dudebro (unregistered) in reply to Hmmmm
    Hmmmm:
    Hilarious Dudebro:
    Now do it again and include boobies, bacon, Tim Tebow, unicorns, bears, beers, ponies, kittens, transvestites, hookers, and blow.
    And it still won't be more than midly amusing (if that)...
    THAT'S THE JOKE!!!!!!!!
  • Groucho (unregistered)

    "WH"? I say why not oming! taps cigar

  • (cs) in reply to Ralph
    Ralph:
    "18:30:00" => " 6:30 pm"
    So this creature is taking a correctly formatted time and mangling it into some abomination? Let the date/time format wars begin! Kill! Kill!! Kill!!!
    Well, for starters, the one true date/time format includes a time zone offset, for example 18:30:00-04:00.
  • TheJonB (unregistered) in reply to Ralph
    Ralph:
    "18:30:00" => " 6:30 pm"
    So this creature is taking a correctly formatted time and mangling it into some abomination? Let the date/time format wars begin! Kill! Kill!! Kill!!!

    The only acceptable time format is clearly MM hh ss.

    So 30 6 10 reads "Thirty minutes past six and 10 seconds" like some Americans might say it.

  • Some Damn Yank (unregistered) in reply to Hilarious Dudebro
    Hilarious Dudebro:
    Now do it again and include boobies, bacon, Tim Tebow, unicorns, bears, beers, ponies, kittens, transvestites, hookers, and blow.
    You forgot rainbows.

    At Dairy Queen they have rainbows on fire! Now that's funny.

Leave a comment on “Wyoming O'Clock”

Log In or post as a guest

Replying to comment #:

« Return to Article