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:

Post a comment: