tags:

views:

37655

answers:

78

I'm getting married on April 4th, 2009. My future wife has agreed to let me have actual code on top of the wedding cake. Woot!

There isn't very much room, four, maybe five lines (it's only a 6" cake because the main cake is a bunch of cupcakes).

Any language is okay, Java, JavaScript, XML.

A lot of the people attending the wedding have coded before, so they'll "get it".

My name is 'Robert' and her name is 'Tiffany', some sort of creative use of those names would be cool.

What code would you have on your wedding cake?

More code cakes (1) (2) (3) (4) (5) (6)

+288  A: 
Do {
    Have();
    Hold();
} Until (Death == True);
TheTXI
Your suggestion is what inspired the cake I ended up with. Thanks!
Sembiance
Holy cow. Why were people messing with this in the beginning?
George Stocker
or while (death != true)
CrazyJugglerDrummer
Um... how about `Do { ... } While (!Dead ); ?
Svish
Svish
+1 just to make it an even 254...
quack quixote
The right answer riding in at 256 votes :)
Wez
Here's the pictures! : http://wedinator.com/2010/05/14/funny-wedding-photos-i-love-these-nerds/
rlb.usa
+19  A: 
while(isAlive) continue;
mquander
A: 
(function Marriage (love, happiness)  {
    var life = this.HolyMatrimony({
        husband: "yourname", wife: "hername"
    });
    return life.of(love,happiness);
}).bind(vicor,100,100)()
Martijn Laarman
Should be 'husband: "Robert", wife: "Tiffany"' in this case.
Chris Lutz
+216  A: 

You can keep it simple also, and just have:

for( ; ; );

I don't even think you need to say more than that. It's simple and gets the point across. :)

FreeMemory
Beautifully expressed!!!
Shivasubramanian A
What about while(1) ; ?
Paul Nathan
Love the subtlety of this one.
martinlund
#define ever (;;);
hasen j
Doesn't this translate to "do nothing forever?"
Kevin Laity
lol. True poetry, that no ungeekly woman would ever have a clue about :)
crosenblum
It even looks like he's crying at the wedding.
LarsH
+75  A: 
if(husband.take(wife) && wife.take(husband)){
  while(!death){
    love();
    honor();
    cherish();
  }
  part();
}
gnovice
Daniel LeCheminant
And maybe husband.take(wife) (using the object)
Daniel LeCheminant
I may be mixing languages here... feel free to edit until syntactically appropriate.
gnovice
I see a bug in your life algorithm.
spoulson
Do you think that tight loop should include a Sleep command? (*groan*)
Daniel LeCheminant
It's already a little long for what the OP wanted, but I could add an "obey();" call... although that would probably just be "husband.obey();" since that method is not implemented for wife objects. =)
gnovice
wife.obey(); // Syntax error
Daniel LeCheminant
lol @ wife.obey();
tj111
lol @ syntax error
Click Upvote
gnovice, I once again wish I could upvote comments.
rwmnau
@Daniel L: Nope. It's a pure virtual function call exception!
Mehrdad Afshari
@rwmnau: Guess what? Now you can! =)
gnovice
LOL --- Unbelievable, its crazy
Vivek Sharma
`while(!death)`? Doesn't `while(!dead)` read better?
Svish
crosenblum
+194  A: 

What's a wife ? :)

Pesto:

It's a subclass of girlfriend that has unlimited access to your private members but doesn't make good use of it, hogs all available resources, and spawns child processes that you aren't allowed to kill off.

Gordon Carpenter-Thompson
A compiled girlfriend.
Martin
It's a subclass of girlfriend that has unlimited access to your private members but doesn't make good use of it, hogs all available resources, and spawns child processes that you aren't allowed to kill off.
Pesto
Surely a statically linked girlfriend?
Martin Beckett
I wish I could give Martina and Pesto upmods.
SquidScareMe
Pesto deserves upmods and I wish we could upmod individual comments. That just made my day!
X-Istence
+1 UV for comments
Gordon Mackie JoanMiro
OK Pesto, comment of the year.
e-satis
@Pesto, hilarious. Freakin hilarious.
Simucal
+1 for including Presto's answer.
Chris Lutz
LOL, best post I have read all day.
Jojo
funny but not related to the question AT ALL!!! (is that code? would you have it on cake??)
hasen j
It's so awesome, it could be the answer to any question.
tstenner
@Pesto - this is going in history :-)
ldigas
@Pesto you rock. Clarity, and geekly and with true romance in deed :)
crosenblum
A: 

$self->birth()->age()->die();

Majin Magu
explain this one
I thought it was funny. I received this from a friend when he had his first baby. Of course he included the following:"age covers everything this child will do, as I'm unaware of the future, I leave it for her to implement."Now that I think about it, what a crummy wedding cake idea!
Majin Magu
+21  A: 

Don't have an answer for you wedding cake, but your 40th anniversary cake code should be in Ruby...

[fetches coat]

Greg Whitfield
lemme guess, you're here all week
thomasrutter
LOLOLOLOLOL grand!
+11  A: 
Wife Tiffany=new Wife();
Mistress Jenny=new Mistress();
if (! Tiffany.isAround()) Jenny.kiss();
else Tv.watch();
Click Upvote
I lol'd, then frown'd.
Greg
I frown'd then I frown'd
Smashery
I frown'd then I smiled
FlipMcF
I just lol'd. Funny, but not cakepropriate.
Mark
i lol'd and frown'd at people frowning but not loling
you should replace Mistress with the type CheerLeader.
this. __curious_geek
+40  A: 
while (!husband.isDead() && !wife.isDead()) {
    try {
        marriage();
    } catch (DisagreementException e) {
        continue;
    }
}
Jose Chavez
sysrqb
That's pretty disgusting.
Jose Chavez
Good catch, sysrqb!
Cerebrus
They are getting married and you already want to divorce them ?!?
Julien Poulin
+1 to comment #1. Hilarious!
Chris Farmer
wouldnt IsAlive be clearer than !IsDead ?
Svish
also, how about a saySorry() in that catch thing? :p
Svish
Burhan
+2  A: 

echo "prenup"

+205  A: 
if (wife.allowsCodeOnCake)
{
    this(nerd).hasFoundTrueLove = true;
}
bigmattyh
Excellent! I don't understand the downvote and will undo asap
Binary Worrier
It's nice but too one-sided.
Robert S.
How about another line in the if? wife.rollEyesAndSigh();
Samuel
chaos
Samuel
should be this.nerd.hasFoundTrueLove of course
ykaganovich
And please do not expose your class members like that. Accessor methods, anyone? ;)
E Dominique
Is it just me or this(nerd) looks lame? If the OP put that on his wedding cake, I can see all the bridemaids whispering about how creepy he is
Click Upvote
@Click Upvote: I agree. $(nerd) might look better :) jQuery style.
Mehrdad Afshari
Really should have made this a wiki... 520 points for this one answer seems a bit excessive.
gnovice
this(hunk).hasFoundTrueLove looks the best IMO. Even if you are a nerd, why make it apparent? (I'm an uber nerd but people don't realize it until I tell them)
Click Upvote
How about split the difference with "this(dude)"?
gnovice
this(nerd) sounds best and is what 108 people have voted on.
Samuel
Nice .
Ólafur Waage
@E Dominique, well, unless you use Java, there's no need for accessor methods, we can use attributes. :)
Ionuț G. Stan
+18  A: 
double GetBankAccountBalance()
{
   if (isMarried)
   {
      return 0.0;
   }
   else
   {
      return lifeSavings;
   }
}
Brad Barker
The only true post so far:)
Dunk
+66  A: 
SELECT wife FROM women WHERE 
  looks='gorgeous' AND idealman LIKE 'Robert%'
UNION
SELECT husband FROM men WHERE
  job='geek' AND loves='Tiffany'

OK, so I've got no idea about SQL, but someone with knowledge must be able to knock something up with the rather appropriate keywords like SELECT, JOIN, UNION, LIKE etc.

Greg Whitfield
+1, if only for the proximity of "knock something up" to "SELECT, JOIN, UNION, LIKE"
Adam Liss
Yes, perhaps "knocking up" was not quite the right phrase to use regarding a wedding!
Greg Whitfield
maybe it is, but who are we to judge
Bob The Janitor
lol comedy gold.
thomasrutter
If it's sql it rules :)
crosenblum
Well as long as you use INSERT and not DROP, you're good :) Just don't forget the ROLLBACK after the INSERT, else it'll be committed!
Konerak
+15  A: 
void Relationship.doMarriage(Minister aMinister) {
  Bride lBride = (Bride)self.female;
  Groom lGroom = (Groom)self.male; 

  lBride.walkDownAisle(new WeddingMusic("Arrival of the Queen of Sheba"));

  aMinister.BeginService(WeddingService.Traditional);

  try {
    lGroom.makeVows();
    lBride.makeVows();

    lGroom.Rings++;
    lBride.Rings++;

    self.IsMarried = true;

    lGroom.kiss(lBride);
  } finally {
    aMinister.EndService();
  }
}

Or if that's too long:

Relationship.doMarriage() {
      Groom.makeVows();
      Bride.makeVows();

      self.IsMarried = true;
      Groom.kiss(Bride);
   }
Mark Pim
Some people have waay too much time on their hands! :) Worth an upvote purely for typing effort.
Greg Whitfield
That's one big wedding cake :)
Michael Stum
Thats too big a code... may be you should use partial classes for maintaining it.
Burhan
I love this one tho because of the IoC possibilities!
n8wrl
You forgot the Catch!
Troggy
+2  A: 
private int patienceLevel = 100;
void LiveMarriage()
{
    if (MessageBox.Show("Want to divorce?", "", MessageBoxButtons.YesNo) == DialogResult.Yes)
        return;

    //keep on trying
    Thread.Sleep(patienceLevel);
    LiveMarriage();
}

The loads of opportunities to avoid a stackoverflow will come under the concept of a divorce (a meta-joke :-)).

Rui Craveiro
message must have timeout.
Behrooz
+104  A: 
/*
* No need anymore, but plz do NOT erase
*
* class Singleton {...}
*/
e-satis
Subtle, I like it.
Atømix
I dont get it :S :P
cwap
Being single means not married. Singleton -> Single
Benjamin Confino
+1  A: 
for account in BankAccounts:

    happiness{"wife"} += 1
    snobbiness{"wife"} += 1
    livingStandardInFiveYears -= 10
    hairLossPerMinute{"male"} += 20
BaconSoap
+23  A: 

What about some Python?


if ' love '.join("Bob", "Tiff") :
   eatThatDamnCake(datetime.datetime.now())
e-satis
Using a language with the name of a snake? No thanks.
lamcro
Like languages named after letters, musical notes, a type of coffee, etc. are any better?
Adriano Varoli Piazza
I did not get c# was a note until now (in France it would be "Do diese" I guess). Funny. But you know that real programmers write assembler code, a language with a real name !
e-satis
@lamcro: it's not named after a snake, it's named after something else ;) http://pythonline.com/
voyager
I would say a language named after a musical note would be much better in a wedding than one named after a snake :p
Svish
+8  A: 
#define cake 3.1415

#undef cake          // (cake = lie if you didn't get it)
Max
Sorry, I still didn't get it. :-)
Adrian Grigore
Heathen! I shall fire my blue portal under you feet and the orange one above a pool of sharks with freaking lasers beams on their heads.
Samuel
@Adrian: He defined cake to "PI"..."Pie"...I guess
Michael Haren
Max/Samuel: are you the same account or just friends on the same network? Your gravatars are identical...
Michael Haren
Portal: The cake is a lie! :D
Jonathan
You have a typo, you mean that the cake is a pie, not a lie. Portal did the same thing...
mrduclaw
+13  A: 
const bool devotion = true;
Gordon Mackie JoanMiro
Shouldn't it be volatile bool? =]
strager
+4  A: 

Some in Java...

import highschool.BoyFriend;
import highschool.GirlFriend;

public class Husband extends BoyFriend {

    private long member;
    private class Wife extends GirlFriend {};

    public long get(Object girl) {
        if (isintance(girl, Husband.Wife))
            return this.member;
        return 0l;
    }
}
e-satis
HAH private member.
Ólafur Waage
This would accept *any* wife :)
soulmerge
Lol, that's true ! I didn't think it that way, damn.
e-satis
simple, change it to `if girl is self.wife`
hasen j
+12  A: 

abort();

Only joking of course ;)

Graham Lee
Hard to take credit for this one. I'm with you guy.
e-satis
-1; that's just lame.
Ricket
Too pessimistic
DL Redden
+2  A: 
Do

 love();

 honor();

 cherish();

Loop Until (tiffany.age >= 49 or tiffany.trustfund < 0 or smokingHotOfficeBabe.hookups > 0 )

if (smokingHotOfficeBabe.hookups > 0) return TotalAssets / 2


Sorry, could not resist.

Jordan
+9  A: 
// Java-ish pseudocode
public Happiness marriage(husband, wife) {
  while (true) {
    husband.love(wife);
    wife.love(husband);
    if (bedrooms.size() > family.size() && savings > 0) {
       newChild = fork();
       family.add(newChild);
       savings = 0;
    }
  }
}
jiggy
I love it! I should have had that on MY wedding cake!
SirDemon
missing the return statement; where's the Happiness instance?
hasen j
@hasen: It doesn't return because it's while(true). "Love never fails." The compiler won't complain because the type checking is lazily evaluated.
LarsH
+1  A: 

while(!(death=together))

or

use Marriage;
our $Marriage = Marriage->new(Wife => 'Tiffany', Husband => 'Robert');
do {
   $Marriage;
} until ($death);

Paul Stevens
+126  A: 
public class Girlfriend {
   public virtual bool sex() { return true; }
}

public class Wife : Girlfriend {
   public override bool sex() { return false; }
}
Eric Petroelje
Hahahahaha :)))!!!!
Pop Catalin
Probably not the best code for the wedding cake, but nice anyway
MartinStettner
OK! that does it... grrrrrrr
Burhan
4 offensive flags, I didn't know we had so many female readers :)
gbjbaanb
I'm surprised it took this long to get those flags :)
Eric Petroelje
I hardly think this post is offensive. Who has it offended? The sensibilities of the Victorians?
Mark Ingram
Only so far as stupidity is offensive. A notion I have abandoned a long time ago.
David Schmitt
why "virtual" in the base class?
thomasrutter
Found my answer. It is for situations where an instance of the derived cast is cast as the base class, and it means that the override should take precedence. Wow, I am learning about programming even from this post, who'd have thought ?!
thomasrutter
Hardly for the wedding cake, but cute nevertheless :-)
ldigas
+5  A: 

I speak from experience. Good marriage like good code design employs separation of concerns and proper modularity. I therefore suggest a AOP framework like spring:

<beans default-autowire="byName">
    <bean id="Robert" class="husband" singleton="false">
     <constructor-arg name="wife">
      <ref bean="Tiffany" />
     </constructor-arg>
    </bean>
    <bean id="Tiffany" class="wife" singleton="false">
     <constructor-arg name="husband">
      <ref bean="Robert" />
     </constructor-arg>
    </bean>
</beans>
Nick
If I was a cake decorator and you asked me to put that on a cake, I would punch you in the face. :(
TheTXI
LOL @ TheTXI - I'd probably insert a subtle bug that implied the couple were actively having affairs with others.
Adam Davis
+1  A: 

love = true

chaos
+2  A: 

void* temp; printf("%d", *temp);

samoz
+90  A: 

A nice little marital crontab:

# DO NOT EDIT THIS FILE - until death
# (/marriage/crontab.XXX installed on Sat Apr  4 11:26:10 2009)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
0 21 * * * unzip; strip; touch; grep; finger; mount; fsck; more; yes; umount; sleep
Ben Collins
frequency is too high.
FlipMcF
hehe .. offensive but too funny ..
hasen j
makes me wonder where these names came from...
corymathews
I don't get what grep has to do here?
hasen j
+1 and hasen j: how else would you know where to finger and mount?
Spoike
Very smart! Love it.
Preet Sangha
grep is a word? or a play on some other word?
hasen j
hasen needs to learn his linux shell.
Mark
I prefer the full joke: whois; trace; date; yacc; gawk; ssh; unzip; strip; find; touch; finger; head; uptime; whereis; latex; mount; join; nice; man; top; split; fsck; gasp; more; yes; exit; umount; sleep; dump
Laplie
wow, anyone who finds this one funny or original clearly hasn't been around unix very long... this one is as old as the hills (and about as amusing as such)
Nik Reiman
@sqook: yep, older than dirt. Still [email protected]: thanks for that! I searched but couldn't find the full one.
Ben Collins
@sqook: what's the hills? and is it amusing? @mark: no I need to learn english slang (actually I don't really need to)
hasen j
that's just dirty :)
dr. evil
haha +1 for fsck! I think about that every time I check my filesystem if you know what I mean.
thomasrutter
@Laplie: I think you're missing a "yes" in between gawk and ssh.
Ether
+58  A: 

while( true ) love++;

hasen j
This is all good until you increment too high and either get an error, or if you're working with really low levels and are using a signed number, wrap around to negatives.
Dinah
Error: Out of memory
Troggy
+21  A: 

Y = λf·(λx·f (x x)) (λx·f (x x))

Mark Stock
Fixed point combinator, nice.
Simucal
dude thats not even possible
O.o I don't get it... what does that mean?
Svish
Hahaha, very very nice!!!
Henri
+1  A: 

class Married extends Dating{

while(death != true){

super.Love()

super.Cherish()

super.Have_and_Hold()

}

I know, I know, bad pseudocode, but it gets the point across (there's no reason those would need to be implemented in Dating but it looked odd otherwise)

A: 

import life
life.do(man, woman)

FlipMcF
A: 
if(Man.Value = Man.Value + Woman) 
{
    throw new FormatException("What was I thinking?");
    exit sub;

}
Austin
Not sure I follow. Aside from the fact that you're assigning instead of comparing, this only equals true if Woman == 0. You're testing for being single, not being married. ...or being married to a worthless women, I supposed.
Dinah
+15  A: 

girlfriend attacks you:
  save -vs- marriage...roll:2
You are now marred.

FlipMcF
A: 

from RobertLovesTiffany import *

A: 

mmm..

<!DOCTYPE HTML PUBLIC "-//RobertAndTiffany//DTD HTML 9.01//EN" "http://www.NoW3.org/TR/html9/ThereAreNotStandartsForOurLove.dtd" >

or simply

GiveEternalLove ( document.getElementById('TiffanyHeart'), document.getElementById('robert') )

or better:

assert(TiffanyLove && RobertLove, false);
/* ASSERTION FAILED */
Matias
+2  A: 
while (True)
  try:
    love+=2
  except:
    love+=2
  finally:
    love+=2
M. Utku ALTINKAYA
My translation: "Thru the effort, the exceptions and in the end, the love just increases" -- best one here in my opinion.
Joshua Poehls
yep, exactly what I meant.
M. Utku ALTINKAYA
Love the sentiment, however if it throws an exception the 1st time, now it's throwing an uncaught exception subsequent times.
Dinah
+73  A: 

I'd simply have On Error Resume Next

HardCode
ouch! the perfect MSFT solution
scunliffe
simply perfecto
Starx
+3  A: 

Not quite code, but might appeal to a wider audience:

From: This Day
To: Have, Hold, Love, Cherish
For: Better, Worse, Richer, Poorer
In: Sickness, Health
Date: 2009-04-09

Subject: Robert & Tiffany
Congratulations!

Attachment:
Content-Type: "application/octet-stream"; name="Celebrant-v1.0"

-- Generated by cake.php
Peter Gibson
+5  A: 

no COBOL code? how about some brainfuck? :D

i'd go with a simple java method

public static int howLongIWillLoveYou() {
   int time = 0;    
   while (true) {
     time++;
   }
   return time;
}

cheesy, yes, but it can also be your homage to this site. ^_^

congratulations btw

mives
I'd really like to know why people downvoted this. I think it's not perfectly good, but on the other hand, not bad, so I just +1 to make this approach 0 again.
Brian Schimmel
+1  A: 

fork while fork

lol, very subtle :p
Johannes Schaub - litb
+8  A: 

GAME OVER

:-)

Rauhotz
+9  A: 
wife++;
while (stillMarried)
{
    bankBalance--;
}
Brendan Enrick
A: 

Take some gold from her family, melt it with some gold from yours. Make rings for both of you. Melts her heart too. Worked well for me. :)

Jay
did you even read the question?
gbjbaanb
Yes. Is an alternative suggestion a difficult concept? Or courtesy?
Jay
+1  A: 
std::map<std::string, std::string> soulMate;
soulMate["Robert"] = "Tiffany";
Venesectrix
+1  A: 
public class Past
{
  public virtual bool freeNow()
  {return true;}
}

public class Present: Past
{
  public override bool freeNow()
  { return false;}
}
MRFerocius
+1  A: 
try
{
 var g = Girls.Single(x=>x.equals("Tiffany"));
}
catch(MultipleGirls ex)
{
  //Problems here...
}

I like this...

MRFerocius
+50  A: 

It isn't technically code but I would put simply:

F1

Fabio Gomes
subtle, excelent!
Ricardo Acras
I dont get it :(
willcodejavaforfood
F1 is an usual shortcut for "Help!"
bigmonachus
subtle, and worthy
crosenblum
A: 

In Ruby:

>> marriage = Marriage.new :husband_id => params[:robert_id], 
                           :wife_id => params[:tiffany_id]
>> marriage.save
=> true
>> marriage.freeze
klew
+1  A: 

This one is in Ruby:

puts "Goodbye, Cruel World!"
File.unlink $0

Note: unlink removes the file $0 which is the file of the program being executed.

kyku
+3  A: 

Your wife is just the coolest!!

    While(true){
RobertLoveToTiffany++;}
Yassir
+3  A: 
Person robert = new Person("Robert");
Person tiffany = new Person("Tiffany");
robert.Heart.BelongsTo(tiffany, new TimeSpan("Always"));
rism
+18  A: 
// Variables Robert & Tiffany are integer representations
// of the actual people.
(Robert ^ Tiffany) == uint.MaxValue;

In case you don't get this one it is essentially saying that Tiffany is the perfect complement to Robert.

Caleb Vear
I'd add `typedef uint love`
Ron Klein
+4  A: 

while(true) Robert.Love(Tiffany);

AaronLS
+2  A: 
#include <stdio.h>

int
main(void)
{
        printf("Hello, world!\n");
}
+12  A: 

If I was you, I would think about what a big, stinky nerd I was being and not go through with this :). Leave coding at home on your wedding day, your wife (and all the guests) will thank you.

temp2290
Surely you're not suggesting that love and code don't go together? How do you think so much crap software ever sees the light of day? ;)
rism
Haha, good point. I've always thought the best coders are the ones that can leave it at home and live a little without thinking about everything in terms of data structures (ie a bit of a different perspective).
temp2290
Or, you can celebrate the fact that your wife accepts you for who you are and doesn't expect you to pretend to be someone else on the day you're tying your lives together. = )
NateDSaint
+2  A: 
Husband h = new Husband("Robert");
Wife w = new Wife("Tiffany");
new Priest().Marry(h, w);
List<Child> children = new List<Child>();
children.Add(h.Reproduce(w));
Ender
I think it should be w.Reproduce(h) -- that is, the wife does the reproducing with the husband's help.
Frank Krueger
+5  A: 
if(Love())  
  {
  Marriage();
  }

Compiler Error M0001: Love is unconditional.

MadKeithV
+1 for the compiler error.
Tracy Probst
+1  A: 

Or you could have a simple

me++;
Conrad
I know many of us have grown since marriage. Grown as people and grown in pants size
Dinah
A: 

make clean

Schildmeijer
A: 
child = 'robert'.toMan.marriage('tiffany'.toWoman)
child.setAge(27).must.makingCake('Roses Are #FF0000.. Violeta..') if child != null
+3  A: 
int i, love, u;

for (i=1; i<u ; i++) love=u++;

Obviously it is an infinite love.

tafa
Except `int` is not an infinite integer type... :p
Svish
+41  A: 

Be careful when trying to cast a girlfriend as a wife. There are several interfaces supported by iGirlFriend that aren't supported by iWife.

Sohnee
+3  A: 

How about one of the classics, that more people have a chance of recognising / understanding?

10 LOVE
20 GOTO 10

Someone can probably come up with something better for that first line...

Chris Jefferson
+5  A: 
$husband = argument ? right : happy
Brandon Stewart
+3  A: 
Person robert = new Person();
Person tiffany = new Person();
if( robert.take( tiffany ) && tiffany.take( robert ) ) {
  this.eat()
  while( !( robert.death || tiffany.death ) ) {
    liveHappily( robert, tiffany );
  }
  part( robert, tiffany );
}
Illandril
+11  A: 
Page Brooks
Dude! Your cake isn't properly null terminated!
Vicky
Cake overrun!!!
Daniel A. White
So what does the data in cake[] represent? Ah... I was hoping it was a quine...
LarsH
Spoiler: "Red Roses"
LarsH
A: 
using(Health h = Sickness | Healthy)
using(Wealth w = Rich | Poor)
{
    Tiffany.LoveAndCherish(Robert);
    Robert.LoveAndCherish(Tiffany);        
    Robert.Kiss(Tiffany);
}
Erich Mirabal
+1  A: 

My future wife has agreed to let me have actual code on top of the wedding cake. Woot!

Robert, do you even realize the full long-term repercussions of accepting such a "permission"? You do understand this will come back to haunt you for the rest of your marriage, right? I would think twice before getting involved with any decisions affecting anything that will/can show up in the wedding video or pictures. :)

Congratulations!

Emrah
+1  A: 

Here's my jQuery version:

$("#altar").bind("vows", function () {
    $("#marriage").append("#Robert").append("#Tiffany");
});
Adam
+3  A: 

Here's my Java version:

while (death != true) {
    try {
        goodTimes();
        badTimes();
        haveKids();
        growOld();
    }
    catch (ReconcilableException e) {
        makeUp();
        continue;
    }
    catch (UnreconcilableException e) {
        if (counsuling())
            continue;
        else 
            divorce();
    }
}

Yea, it's more than 4 lines.

Adam
+1  A: 
C:\Run Freedom.exe /destination:theHills /nostop /noturnback /headphonesOn
Pure.Krome
A: 

This is my first time here, and I just happened to come across this site while looking for some kind of creative SQL code to put on my hubby's birthday cake. I know that I'm kind of going off the topic here but, if anyone can help me out, I'd greatly appreciate it - there were so many good wedding cake ideas here!

bailarin
+2  A: 
OscarRyz
Ohh... now I got it! I was wondering why someone would want to print funny code (which isn't even funny) on a cake for a 80 years old aunt...
Brian Schimmel
+1  A: 

Transaction.Rollback();

George Statis
NICE! I like that one.
Alex Balashov