Discussion about this post

User's avatar
Tim Murphy's avatar

I am a 65 year old COBOL programmer. I also know Java. As somebody who never gambles, I would be willing to make an exception. There is NO way that a massive COBOL system can be converted to Java in a few months. Successfully that is. I'll take that bet. Let me toss out a better estimate. 8 years.

Once your tool generates the shitty Java code - and it will be profoundly shitty - the project managers will get bonus boners but will fail to realize the heavy lifting is still all in front of them. Testing. Testing. Testing. Develop test cases based on the specifications, assuming the specs are in good shape.

Take a look at the payroll system that was rewritten by IBM for the government of Canada. It did not go well. https://en.wikipedia.org/wiki/Phoenix_pay_system

Small nitpick. Garbage collection. COBOL does have a garbage collector of sorts but nobody calls it that. Memory is allocated automatically by the COBOL runtime when a program starts and typically discarded automatically when the program ends. Like Java programmers, COBOL programmers do not have to worry much about garbage collection. Of course there are always exceptions but I won't plunge into mad detail.

Here is my free advice. Don't touch it the old system.

Teach your programmers COBOL. It is stinky but easy to learn. Give them danger pay. The old, unsexy, stinky system has benefits that few people appreciate. We all know what they are. I won't rehash here.

Now form a small team to figure out how to gradually replace the monolith, bit by bit, piece by piece. Rearchitect the new system properly. Before you write a line of code.

I enjoyed your post. Well done.

Expand full comment
1 more comment...

No posts