Eric Ranaldi

The portfolio of a self taught programmer.

Java is not my friend.

While working on this hearts game I have been using Java. I’m not a fan. I like my ability for scope in C/C++. It may be the IDE it may just be the language, but I feel like I have no control over my variables and I’m forced to do it in a manner that works for someone else’s desires. I mean its not the end of the world to do it like this. And I love having the knowlege of the language and the ability to be able to get profficent with it.

Tonight it is just frustrating the hell out of me, and I just want to throw my keyboard out the window. Working with objects is a pain and the fact I have to create enums in there own file AND I can’t just use them like a integer, instead I have to make some wierd ass function/constructor setup (similiar to ordianl) to be able to assign my values so things start looking funky Enum.foo.Value() is used in code and that just looks bad and gets clunky for anything of size. I have found a way around the enum issue but it is still annoying.

Maybe I am just tired and I dont see something obvious in my face. Maybe I should sleep. But I keep getting random null point exceptions at compelty random spots in my code tonight while I try to change from a linear blocking system to the game to a dynamic non blocking system for the game to function in. IE. the game “server” can accept messages from any player and process them as needed.

I have decided I need to sleep so I shall do that.