Personal & Technology 04 Mar 2007 01:05 am
This is what happens when I mix life with EtOH
No really, it's quite awful. I pounded this out in less than five minutes. I'm sure some pieces don't make sense. For instance, Life is undefined.
Maybe that's the secret to being a great computer scientist for me: more alcohol. Good lord.
#include <iostream>
using namespace::std;
void die()
{
Life l = null;
}
void death(string means, string last_words)
{
die();
}
void bliss(string type, int number_of_children, string type_of_life)
{
}
int main()
{
string answer;
cout < < "Will you marry me? ";
cin >> answer;
if (answer == "yes")
{
bliss("wedded", 0, "world domination");
}
else if (answer == "no")
{
death("suicide", "I love you, Athena.");
}
return 0;
}
Today is the first day I've written code in 3.5 years. Odd that I've missed it.
on 04 Mar 2007 at 8:57 am 1.Rian said …
And by the way, now that it is morning, I should let you all know that I am not suicidal, and that I would never off myself if a girl turned me down.
This code was written to demonstrate how functions work, and what they look like. If was the best I could come up with at the time.
(Why am I writing a disclaimer on my own blog?)
on 06 Mar 2007 at 10:13 am 2.Kat said …
Yah, yah. Hey- the next program you write should have something to do with yah's, yah???