Wedinator 

 

« Previous | Next »


Sheer Awesomeness: l33t Cake

Funny Wedding Photos - I Love These Nerds

Submitted by: dunno source via Submit Page

I’m getting a syntax error of extreme cuteness. I hope this couple met online and had a whirlwind romance. He works in IT, she works at a software company…and it was love at first click. Or something like that. These nerds and their cupcakes kick much @ss. 

Related: Other Cake Awesomeness

Incorrect source or offensive?
  • Share on Facebook
  • Copy & paste this:

» See all 106 comments

  1. Zeikzeil says:

    Morons. That’s not how you use booleans.

  2. bubbapop says:

    Had to re-read your comment several times. Maybe it was just the font.
    It was love at first WHAT?!?!?!

  3. Z says:

    I hate bad syntax. Here’s what it should look like:

    do{
    have_and_hold();
    love_and_cherish();
    } while (life == true}

    Good try though. and no i didn’t miss the point of this.

    • Forrest says:

      Bad syntax? In what language? do {} until is perfectly valid in Perl (although “true” is not a keyword).

      that said, == true is usually redundant wherever I’ve seen it: (dead == true) is the same thing as (dead). But hey, it’s for emphasis …

      • Adam says:

        Nothing is more annoying than a smartass who doesn’t even quite succeed.
        Saying “==true” is ‘for emphasis’ is only half-true. In an actual program with death==true instead of (dead) is clearer. It aids in the programmer’s thinking. That’s the point of good programming practice, to clarify thinking and relate how humans and computers think–otherwise we’d just write in Assembly. Get it?

    • Shaun says:

      Hi Moron. Isn’t it a bit obvious that they chose to use “until” so that it sounds like the vow?

      Your proposal is probably their rough-draft that they toss in the trash.

      In fact, the only bone you could’ve picked (redundant operator), is still present in your proposal. Loser.

    • gooseberries says:

      You missed a bracket mr. or ms. PerfectSyntax

  4. elfinugget says:

    And, honestly, who cares if it’s “he” and “she”… s’long as the USB ports line up… (I hear they make adapters too…)

  5. D says:

    ok, I get USB port symbols, the emoticons and the @, but what’s with the white “Q”-cakes and the html-cake on top? explanation please

  6. Sacha says:

    The Q ? I think it’s the On-Off button ;-)

  7. Richard says:

    The “Q”s are meant to be the symbol on a computer power button. The “tail” of the Q is actually the top.

    The cake at the top is not HTML, it is Visual Basic (or possibly another programming language with a do_until loop). It is describing a computer program that has and holds, loves and cherishes, repeatedly until death occurs.

    • Sir Scarfalot says:

      Visual Basic isn’t a language per se, and furthermore the syntax wouldn’t work in Basic as is… albeit with slight changes it would be good. As is, it looks to be base C, therefore compatible with C++ and C#.

      unless I am wrong, haven’t used C# much.

  8. Sacha says:

    And the html-cake on the top ? Maybe it’s what you have to do when you get married (sorry but i’m french, and I don’t speak English a lot ^^”)

  9. ant says:

    Those “Q”-cakes are actually power (on/off) switches. And the HTML is actually java or C# that represents the traditional wedding vows of “to have and to hold [...] to love and cherish [...] until death do us part.”

  10. CoCoNO says:

    do
    {
    laugh(“HARD”);
    }
    while ( funny == true );

    • Sean says:

      So you’re saying you’re going to laugh for the first iteration whether or not it’s funny?

      • Sir Scarfalot says:

        That, and “HARD” (with quotes) is the argument… no matter the degree of funny, unless he’s using a global variable within the “laugh” function, which would make very little sense. Ah, don’t worry about it!

  11. Kedi says:

    I love the bottom cupcakes for some reason. the pic on those ones just make the cupcakes scream, “EAT ME!”

  12. Epiphani says:

    Leave it to the logical to fuck up the entire point of sharing this.
    Way to ruin the magic, guys.

  13. CDThe says:

    Love it :) In fact, our wedding cake had all the lettering on it done in ASCII Hexadecimal.

    (I’m a software consultant, husband is a software tester!)

    • Sir Scarfalot says:

      Hmmm… that’s actually a really good idea! Extra length on the letters = more yummy icing! clever!

  14. Nyckname says:

    |33t? Since when do script kiddies know how to write even that much code?

  15. Brian Westley says:

    The cake is a lie.

  16. Newb Programmer says:

    I’m surprised nobody has mentioned that the do loop will run once even if death==true is true from the onset. This is the major flaw with the code. It should be while (death != true) {…… if you want to avoid the potential of being forced to have_and_hold() and love_and_cherish() a zombie for one loop cycle.

  17. Martin says:

    The vow is “Till death do us part” which would more accurately be rendered:

    } until (dead(bride) || dead(groom))

    • Sir Scarfalot says:

      wait… dead is a function? Dude, don’t use a separate function to check the status of a boolean variable!! This is C/C++, so to make it really accurate, write:

      }until((bride.dead==true)||(groom.dead==true));

      UNLESS…

      bride and groom aren’t objects… in which case we have more of a problem than I dare fix!

  18. alichronic says:

    OMG WANT.

  19. Neko says:

    Only problem with the sheer awesomeness of this cake: if the programming and hardware ain’t sound, it could crash at any minute…

  20. Aj says:

    The one thing they aint got is a checkDeath() function which would check if death is equal too True. Unless it was in the have_and_hold(); or Love_and_cherish(); functions which would then be bad practice cause the function name should be self explanatory OR am i just wrong.

    • Danny says:

      If you don’t notice that you’re holding a dead person, you’re doing it wrong. Ergo, it’s implicitly called from the have_and_hold implementation.

      HTH.

      PS – to everyone referring to the code on the top cake as HTML, your geek cards are hereby permanently revoked.

  21. Sarge says:

    Awesome! USB Cupcakes FTW!

  22. Andrwe says:

    poor use of globals.

    Also while (life==true) is a lot less glum than (death==true)

    • Sir Scarfalot says:

      false, since if you put (life==true) in as the break condition, you proceed to have 1 iteration OR a zombie apocalypse, take your pick…

  23. CSguy says:

    not to be elitist or anything…here’s one liner using recursion (in C syntax):

    love_and_cherish() { (dead)?return:love_and_cherish() }

    • Kevin says:

      Well, ignoring for a moment the fact that your syntax doesn’t actually work and the fact that you’ve ignored the have_and_hold() function, the fundamental mistake here is that any solution using recursion to perform an indefinite loop is going to result in a stack overflow. Of course, if you’re counting on your marriage crashing after a short while, perhaps that’s okay.

  24. Bruised Almighty says:

    I guess they didn’t have the nerve to say “… love at first byte”

  25. bunni says:

    lol…as a CAKE DECORATOR and not anything to do much with the pc world this was just cute! Only pc nerds would actually argue over the syntax of a wedding cake! hehehe that’s what was so funny to me!

  26. pix says:

    This wedding cake rocks my socks

  27. its me hi says:

    itz teh interwedz

  28. [...] seen some pretty slammin’ cakes on Wedinator. Remember the H.R. Giger cake? Or the Greatest Nerd Cake Of All Time and the series of nostalgic wedding cakes? Those were [...]

  29. Badger says:

    boolean epic_win=true;
    if(epic_win==true)
    {want_cake();}

  30. Ashley says:

    It could be C/C++ with a #define until while at the top.

  31. [...] power symbols, @ signs and all that syntax. Guess it was easier than icing that dead AT-AT, mind. [Wedinator - Thanks, Kate!] More » Wedding cake – Cake – Shopping – Home [...]

  32. [...] power symbols, @ signs and all that syntax. Guess it was easier than icing that dead AT-AT, mind. [Wedinator - Thanks, Kate!] More » Wedding cake – Cake – Shopping – Home [...]

  33. [...] power symbols, @ signs and all that syntax. Guess it was easier than icing that dead AT-AT, mind. [Wedinator - Thanks, Kate!] [...]

  34. [...] ข้อมูลเพิ่มเติม [Wedinator] [...]

  35. [...] power symbols, @ signs and all that syntax. Guess it was easier than icing that dead AT-AT, mind. [Wedinator - Thanks, Kate!] More » Kat [...]

  36. fairlane says:

    All you programmers SHOULD write in Assembly, but you can’t because you’re a bunch of lazy turds

  37. Joe says:

    Glad someone explained the “Q” , until death minus one would be the “part” I love the cake and the idea, it is perfect just the way it is!!!!

  38. [...] power symbols, @ signs and all that syntax. Guess it was easier than icing that dead AT-AT, mind. [Wedinator - Thanks, Kate!] Tagged:cakescodedesigngeekshumourprogrammerssyntaxwedding [...]

  39. Anani says:

    Well, they do say the first few years of marriage are the rough sketch to the rest of your life. Even though the syntax is flawed, so are many marriages, you just have to tweak it a little here and there, and get it back up and running again. I’d say this is a wonderful start to a future together. ;) Yes, I am a hopeless romantic, and find the cake absolutely adorable!

    • Sir Scarfalot says:

      actually, if one assumes that the variables and functions are defined globally somewhere else in the cake, there’s no issue when compiled in C or C-based languages! So the cake, and thus the marriage, isn’t flawed!

      …of course, the first rule of marriage and coding is to not assume anything…

  40. Shan Dan says:

    Oh my god you guys are dorks.. this cake is awesome enjoy it..

    • Mr. Mustachio :{O says:

      That’s part of the funny bit: we are.

      You know there was a group at the wedding, off to the side, having this very same conversation.

      Except, that one ended because the cake disappeared…

  41. [...] You know your geekness goes all the way to the core when you have a wedding cake like this. [...]

  42. Ovidiu C. says:

    Too bad have_and_hold() and love_and_cherish() throw exceptions… in about 40% of the cases.

  43. [...] l33t cake @ Wedinator [...]

  44. Alex says:

    its a freaking cake…sheeeesh. By the way, perl uses do {} until (condition);
    Ya I know the death == true is redundant, but is probably there to mimic the actual vows. Freaking nerds!

  45. Jackie says:

    Who cares what it says…. it’s cute. they did a nice job on it. And obviously the bride and groom were happy with it or it wouldn’t be here for you to “pick apart”

  46. [...] More Cake Awesomeness Incorrect source or offensive?Tags:boobs, funny, pear boobs, sense of humor, Sheer [...]

  47. Adam says:

    Who cares if it’s right or not…. It’s their wedding cake and go them for finding happiness!!! :D

  48. Dave says:

    Probably couldn’t find a cake compiler to test the code.

    Funny with all of you critiquing the code, no one pointed out the stray @ cupcake in the USB layer.

    • Sir Scarfalot says:

      hey, good catch! But, the code is C based, so a C compiler oughta work.

      If you could find a machine that accepted sucrose inputs, that is :P

  49. picsafej says:

    waka waka

  50. Sir Scarfalot says:

    … no, it will work. It working RIGHT or not is the real question :P

  51. [...] Geek Love Rules Incorrect source or offensive?Tags:custom wedding ring, form over function, geek love, geeky [...]

  52. These cupcakes are awesome!

  53. [...] Geek Love is the Best Love Incorrect source or offensive?Tags:Funny Wedding Photos -, geek love, nerds, nerds in [...]

  54. e majine says:

    géniale (-> funny)

  55. T & S says:

    I just wanted to say thanks for posting this, we’re officially having something very close to this made as our own wedding cake now. My fiance (the guy with a degree in programming) was also annoyed by the syntax, so he has rewritten it to suit what it should be so we’ll have that :P Thanks!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Newsletter Sign-up