Coding Nostalgia

Jeff Atwood over at Coding Horror wants to know where all the COBOL programmers are.

Well, one of them is sitting at her computer typing this. To be fair, I haven’t written any COBOL code in more than four years and even when I did I wasn’t that enthusiastic about it. But still, I did my apprenticeship in an IT company providing services for some of the major insurance companies in Germany, so guess what language all their programs were coded in?

Here’s a quote from Jeff Atwood’s article:

If these 220 billion lines of COBOL code are truly running out there somewhere, where are all the COBOL programmers?

I think it’s safe to say that a lot of them just ran. I didn’t exactly run from COBOL and the fact that I wrote code in MUMPS after my COBOL gig probably is prove enough, but I wasn’t sad to leave it either. However, it might have been one of those experiences that in retrospect don’t seem that bad and leave you with that superior feeling of been there, done that.

COBOL is indeed a strange language, and to those who are not familiar with its strangeness, here’s a quick introduction to its weirdest character traits. 

  1. Fixed divisions and sections. Start with the IDENTIFICATION DIVISION, move on  to the ENVIRONMENT DIVISION with its INPUT-OUTPUT SECTION, then on to the DATA DIVISION  to define yourself some fancy variables. Only then can you start writing actual code in the PROCEDURE DIVISION. It’s kind of awesome and insane at the same time. You can’t mix up any of the divisions, there’s a fixed order and you can’t define your variables anywhere else than in the DATA DIVISION.
  2. Defining variables itself is a blast. First, you have to define them all upfront, which is not that unusual, but still. Second, you have to set a size. I mean really set a size. Like, this is a string and it’s 30 characters long. This is an integer and it’s 6 digits long. This is a freaking decimal and it’s 4 digits and two decimal places. No re-defining during code. I think apart from the fact that COBOL doesn’t provide a modulo operation which left me with no choice but naming a variable „USELESS“ once1, this was the part of COBOL that annoyed me the most.
  3. This doesn’t have to do with COBOL directly, but I’d like to throw in JCL. JCL – or Job Control Language – was a scripting language that could at best be described as cryptic and was needed to actually run the COBOL programs. I’m pretty sure that in the whole company there seemed to be only one guy who actually understood the language. Everyone else was doing it the copy/paste/pray way. Maybe I’m wrong, but that’s what it seemed like.

No, I don’t miss writing COBOL code. But maybe it was worth learning how to write COBOL anyway. First of all, I am one of those COBOL programmers. Plus, you can always tell one of those coding nostalgia stories at lunch and get that glassy look in your eyes remembering the time when you spent hours a day writing those copybooks. Good old days.

It’s even more fun though when you get me started on MUMPS. Because that, my friends, is one fucked-up language.

1How do you work around that? Well easy, you can use a division and the save the result and the rest. Unfortunately you have to store the result, which when you really only need to use the rest, doesn’t leave you with any choice, but to passive-aggressively name your variables the only way they can be properly described: useless.

Mini-Blogging: What’s Eating My Time

It’s been pretty quiet here, but there’s a reason for that and since it won’t fit into 140 characters and I do feel a bit bad about not writing anything at all here, I thought I’d give you a short heads up on what I’ve been up to these days.

Here’s the thing. A few weeks ago there was nothing on TV which made me tell my husband that I was thinking of buying a Wii somewhen soon which made him dare me to buy one right that evening. By the way it was about 7pm when this happened, which meant that we pretty much ran out of the Italian restaurant, jump into the car and drive to the next electronic store. There I pretty much stopped the first guy to walk around in the games department and said something to him, which can easily be translated into: „We’d like to spend lots of money. Sell me a Wii and whatever equipment there is.“ Which he did.

So we’ve got a Wii. Of course we also bought the Balance Board right away, plus two additional games, so we’re set for now. Can’t wait for Wii Fit Plus to be released though. I want that chicken suit!

I also still have that Nintendo DS I got for my birthday last year. I’ve been pretty bad with buying games for the DS. Of course I’ve got one of the Dr. Kawashima’s which I’m pretty sure everyone has. I also have one of those hidden object games, which was a bit of a letdown (I have a similar game on my iPod which I loved). I got Professor Layton’s Curious Village which was so awesome that I dragged it out because I didn’t want it to end.

And since last Wednesday I have Legend of Zelda: Phantom Hourglass.

Conincidentally, last week was also the week when the first part of Monkey Island was released for the iPod.

So, let me get that straight for you one last time: There’s the Wii, Legend of Zelda and Monkey Island. Do you need any more explanation on why I can’t seem to make time to blog?

I thought so.