Sunday February 13, 2005
It's nice...

Second entry today. Hmm..

This is a nice feeling, strangely.
Setting two distinct paths. Seeing the fork in the road.
Java code... hmm...

import org.alanv.Person;
import org.alanv.LifeDecision;
import edu.cmu.cs.pattis.cs151xx.Decision;
public class Life{
Decision decision = new LifeDecision();
Person parents = new Person();
public static void main(String[] args){
if(!decision.isOK(parents))
System.exit(-1);
else
... //more code here
}
}

I don't know why... but this is making me feel peaceful.
It's all so final. Of course, code is final. Immutible (unless you're programming in the 1337 programming language).

So now I wait, finger on the enter key.
>javac Life.java
>java -Xmx128m -Xms8m Life.class Life

Do I run the program? That's something I'll decide tomorrow... I have way too much homework to do tonight >_< Stupid 251.

Edit: No need to run program. decision.isOK(dad) threw NullPointerException (assume exception was handled), but that's okay because decision.isOK(mom) returned true, if condition evaluates to false, else block executes.
Woot.
That begs the question... would I have really done it?
I think I would have... but there's no way to ever really know.




Comments:

im glad things worked out :-)
Amanda

Posted by: Amanda at February 14, 2005 06:06 PM

He's alive!!! I find it humerous that you made that into Java. Very humerous/amusing indeed. Particularly null pointers... Funny business.

Posted by: Josh at February 14, 2005 07:26 PM


Post a comment:
Name:
Email Address:
URL:
Comments:


Feb 14:
1 Day - Get your Singles' Awareness Day posters here

Feeling:
Peaceful

Listening to:

Nothing

Content feeds:
LJ Syndication
XML Feed
RDF Feed