logoalt Hacker News

arcticbull10/01/20242 repliesview on HN

Legacy code yeah, nobody's hitting File > New Project in COBOL

It's just that nobody understands how the systems work and they're ossified. Those systems are going to be emulated until our grandchildren take over because nobody can understand them well enough to craft a replacement. Juuuust up until an LLM rewrites them for us.

[edit] I mean those airlines systems are so old that they don't support special characters on names, passenger names are two fixed-length fields (first name, last name) and title and middle name just gets appended together.

So you get LASTNAME/FIRSTNAMEMIDDLENAMENTITLE on your bookings. And each of those fields is truncated lol.

and of course flight numbers are fixed at 4 digits, so we're running out of those.

Not exactly a great ad.


Replies

toast010/01/2024

"Legacy code" is also known as "the important code that makes the business work"

If these new fangled languages are so great, one day they can be legacy code too. :P

show 1 reply
palisade10/01/2024

Oof, I've got good news and bad news for you.... they still are creating new code in it.

Yeah, there are fewer engineers in COBOL which is why it pays BIG bucks now. They desperately need someone to maintain that massive infrastructure that has been built up over 75 years that cannot be replaced easily or quickly.

show 1 reply