
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
-
-
Copy & paste this:



Morons. That’s not how you use booleans.
Of course that’s how you use booleans, as the condition for a while-loop.
redundant_operator==redundant
That was the very first thing I thought went I saw the cake. Maybe it’s C#, and death is a nullable boolean? D:
This is classic. People arguing syntax over a cake lol
Had to re-read your comment several times. Maybe it was just the font.
It was love at first WHAT?!?!?!
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.
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 …
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?
Yes. That’s the only reason we don’t write in Assembly.
fucking nerds
You guys drive me crazy, but your good in bed. So what can I do?
tell your friends, now. every woman needs to know.
*you’re
*your
it’s not “tell you are friends now”
Thalia was correcting MMMichelle, who improperly used your. Just FYI.
the odd part is, it will only loop as long as dead = true… as in either the bride or groom is dead. should be (dead != true) or (dead == false)
Dude, they use UNTIL not WHILE.
Learn to read. And yes, UNTIL does exists. This cake’s syntax is correct. The only thing is the DEATH == true thing, but that’s just to make it more understandable to the non nerds like you.
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.
You missed a bracket mr. or ms. PerfectSyntax
And a close parin! How evil!
And, honestly, who cares if it’s “he” and “she”… s’long as the USB ports line up… (I hear they make adapters too…)
…. your comment scares me…
*runs*
lmao! <3 for add-ons
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
They are power symbols not “Q”
Come on, Q? really?
http://www.beatnikpad.com/archives/2004/02/03/the_power_on_icon
http://en.wikipedia.org/wiki/Power_symbol
I’m thinking the “Q” is the on button of a computer.
The HTML is just saying what they will do is have, hold, love and cherish each other until dead is truth (meaning until they’re dead).
–
I’d like something like this, because I met my fiance online too (:
thanks guys. the power-button-cakes just looked like Qs to me because of the perspective, but now I see it – why would anybody make cakes with a quicktime-Q anyway…? And the html, I sort of guessed that, thanks anyway
Sorry but that is not HTML. I’m not absolutely sure which language it is, but it could as one possibility be JavaScript. I can understand a layman not realizing that JavaScript is not a part of HTML. All HTML tags start with a “” they close with a “” where “tag” is the name of the tag that is being closed.
It would be valid in either C or C++.
Power symbol. Not Q. And the top cake isn’t HTML-specific. That’s a block of code that (if altered slightly to actually follow the format of a do-while loop) could fit into any number of programming languages, including Java and C++.
The Q ? I think it’s the On-Off button
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.
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.
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 ^^”)
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.”
do
{
laugh(“HARD”);
}
while ( funny == true );
So you’re saying you’re going to laugh for the first iteration whether or not it’s funny?
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!
I love the bottom cupcakes for some reason. the pic on those ones just make the cupcakes scream, “EAT ME!”
Leave it to the logical to fuck up the entire point of sharing this.
Way to ruin the magic, guys.
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!)
Hmmm… that’s actually a really good idea! Extra length on the letters = more yummy icing! clever!
|33t? Since when do script kiddies know how to write even that much code?
The cake is a lie.
The only sensible comment on here.
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.
HAHA – good point!
… but maybe some people are into that!
We should probably tell them, unless their SVN server is public, then we could fix it ourselves.
The vow is “Till death do us part” which would more accurately be rendered:
} until (dead(bride) || dead(groom))
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!
OMG WANT.
Only problem with the sheer awesomeness of this cake: if the programming and hardware ain’t sound, it could crash at any minute…
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.
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.
Awesome! USB Cupcakes FTW!
poor use of globals.
Also while (life==true) is a lot less glum than (death==true)
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…
not to be elitist or anything…here’s one liner using recursion (in C syntax):
love_and_cherish() { (dead)?return:love_and_cherish() }
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.
win!
I guess they didn’t have the nerve to say “… love at first byte”
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!
This wedding cake rocks my socks
itz teh interwedz
I lol’d
[...] 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 [...]
boolean epic_win=true;
if(epic_win==true)
{want_cake();}
It could be C/C++ with a #define until while at the top.
Well, more specifically you’d need:
#define until(x) while(!(x))
I think it’s assumed that the variables and functions are global… maybe they’re inside the cake!!
[...] 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 [...]
[...] 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 [...]
[...] power symbols, @ signs and all that syntax. Guess it was easier than icing that dead AT-AT, mind. [Wedinator - Thanks, Kate!] [...]
[...] ข้อมูลเพิ่มเติม [Wedinator] [...]
[...] power symbols, @ signs and all that syntax. Guess it was easier than icing that dead AT-AT, mind. [Wedinator - Thanks, Kate!] More » Kat [...]
All you programmers SHOULD write in Assembly, but you can’t because you’re a bunch of lazy turds
Work smarter, not harder
Actually, I can. I choose not too.
That, and it doesn’t work too well in a browser.
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!!!!
[...] power symbols, @ signs and all that syntax. Guess it was easier than icing that dead AT-AT, mind. [Wedinator - Thanks, Kate!] Tagged:cakescodedesigngeekshumourprogrammerssyntaxwedding [...]
what the heck have you DONE to the page?!
*closes HTML tags*
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!
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…
Oh my god you guys are dorks.. this cake is awesome enjoy it..
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…
[...] Via wedinator [...]
[...] You know your geekness goes all the way to the core when you have a wedding cake like this. [...]
Too bad have_and_hold() and love_and_cherish() throw exceptions… in about 40% of the cases.
[...] l33t cake @ Wedinator [...]
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!
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”
[...] More Cake Awesomeness Incorrect source or offensive?Tags:boobs, funny, pear boobs, sense of humor, Sheer [...]
Who cares if it’s right or not…. It’s their wedding cake and go them for finding happiness!!!
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.
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
waka waka
… no, it will work. It working RIGHT or not is the real question
[...] Geek Love Rules Incorrect source or offensive?Tags:custom wedding ring, form over function, geek love, geeky [...]
These cupcakes are awesome!
[...] l33t Cake and Chrono Trigger [...]
[...] Geek Love is the Best Love Incorrect source or offensive?Tags:Funny Wedding Photos -, geek love, nerds, nerds in [...]
[...] Sheer Awesomeness Wedding [...]
géniale (-> funny)
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
Thanks!