# Write once

Apparently, in the world of development, Java is a giant joke. It’s a giant in several ways. It’s easy to start learning and using, but in order to really know it, you have to spend immense amounts of time learning just the standard library alone. Add to that all of the extra classes that you’ll undoubtedly come across, and you have one massive language.

It’s also gigantic because it really wasn’t written with efficiency in mind. I mean, char is two bytes and none of the primitives are unsigned. It’s a pain the butt to translate C code over to Java because of this, especially when there are bits to be shifted. Essentially, the way around this is to treat each byte as a larger type, like a short or int.

But once you get into Java development, you’ll learn that Java is the joke and that the punchline will always be, without fail, “Write once, run everywhere”.

# RAKI SUTA

So I think I’ve watched enough to determine that I really like Lucky Star. Apparently, a lot of people hate it, but oh well.

Lucky Star is a lot like Azumanga Daioh; it follows four high school girls through school. They talk about random crap. No, really, there is a ten minute scene of them just talking about food. The thing that makes this series entirely different is Konata.

Konata is a crazy otaku/hardcore gamer. She spends ridiculous money on manga and anime, tanks into late hours in her MMO, and rofflepwns everyone at games. She’s lazy and pulls all nighters and does decently. And so, Lucky Star is awesome for its gaming and anime jokes.

I think the thing that I’ve learned from Lucky Star is that while gaming and anime are much more normal in Japan than they are here, crazy otaku and hardcore gamers are still weird people. What that means is, for all of you who’s dream is to go to Japan and live among your own kind, you’ll still be weird.

Also, Aya Hirano voices Konata. And she also sings in the OP. And the OP is awesome. I would describe it as Hare Hare Yukai on crack.

Overall, Lucky Star is KAWAII!!!! ^_^ and funny. Even if it’s not the best thing evar, it’s still good.

# K&R are right

My new hobby at work is slamming my keyboard on my head while changing the code that the previous coop worked on. You’ve heard me whine about coding style before, but holy crap, who the hell codes like this?

public static String function ()throws IOException, SAXException{ and so on.

Who the hell puts a space in between their function name and argument list? Who the hell doesn’t put a space in between their argument list and exception throwing stuff? Who bloody puts the opening brace of a function on the same lines as the function declaration?

You know what’s even better?

if (variable.equals(something.else)) {
bla bla bla;
}
else if (variable.equals(something.again)) {
...

Did you catch that? Because it took me a few looks at it to really see what was going on there. Now you might have seen it immediately, but try looking at it when there are fifteen other branches. It’s even better when another if statement begins after this one ends with no whitespace in between them.

I swear if I ever get put in charge of a team of developers, the first thing I will do is beat them over the head with a copy of The C Programming Language until they respond with “K&R are right” whenever I mention braces.

Don’t make me get the book.