HACKER Q&A
📣 oldlang

What would convince you to take a job coding in Pascal?


Languages go through their lifecycles, but oftentimes never die. Even great languages like COBOL or Pascal become obsolete, yet thousands(?) of mission-critical products continue to run successfully and direly depend on outdated technologies — these codebases need continued maintenance and improvements.

What would it take to convince you to accept a job coding in an "obsolete" language every day, like COBOL, Pascal, or Fortran?

Is it money, and there's a salary number? Is there a unique benefit (perhaps an annual 3 month sabbatical or 20-hour work weeks)? Or do you love an obsolete lang, and are already looking for that job?


  👤 pinewurst Accepted Answer ✓
I liked Pascal. Depending on the dialect, it wouldn't take more money at all. In fact, I'd rather do that than Rust/Scala etc.

COBOL - probably a lot, but not due to the language - it'd be 30 years of accreted bad programming that would suck.

Fortran - depends, like Pascal, on dialect. The most recent ones are quite reasonable.


👤 jfengel
Eh. Whatever. I honestly don't care what language I work in.

I'm not sure that Pascal was ever significant enough to become obsolete. It was intended as a teaching language. It got used for a variety of things anyway, but was replaced by better languages before it got much traction.

I'll write COBOL, Fortran, or Pascal -- or Algol or Snobol or Logo. I don't mind legacy systems; I don't often get a chance to clean-sheet things.

The fact that those dead languages are running on either decrepit computers, or emulators for decrepit computers, that is less fun. Ideally, you'd be there to work on a plan to replace it with something more capable, because otherwise your project is permanently hindered by the original hardware.

But meantime, I'm perfectly fine keeping something running just because people need it to keep doing its job. If they can't afford to pay for an upgrade path, that's worrying, but only because they can't afford to pay for anything. Ya gotta spend money to make money.

Languages just don't make much difference to me. Frameworks make a bigger difference -- and yeah, for older languages, framework and language are pretty much the same thing. But all I want from a framework is to get the thing to do its job. The rest is just programming, and I'm happy to program. The fundamental problem-solving skills apply regardless of the language.


👤 prirun
My big distinction is programming on my own code vs programming with someone else's code, with programming my own obviously being preferred.

While probably unlikely, if someone wanted me to do a new project in Fortran, COBOL, or Pascal it would be easier than if I got thrown into the middle of an existing mess and told to fix it. That can be really challenging, because it's amazing how bad some code is.

On the other hand, if getting paid $175+ an hour, a job is a job. If it takes longer because the code is shitty, well, it also pays more.


👤 peterhi
Work I would like to do and being paid accordingly (being originally a COBOL programmer myself)

Money is money after all

I would be less inclined to take a MUMPS gig than a Forth one. Part of the issue would be the environment. Developing Pascal on a modern unix environment with docker and all the nice tools is one thing. Having to go back to Turbo Pascal on MSDOS 3 would be a different proposition


👤 Bostonian
Fortran continues to have new standards, with compilers implementing those standards, with Fortran 2018 being the latest and Fortran 2023 planned. Fortran 2018 is not obsolete.

Some fraction of Fortran programming is still done in FORTRAN 77. I would demand more to program in FORTRAN 77, maybe 100K-200K more, than to program in Fortran 2018.


👤 bediger4000
I did some contracting in 2017 that involved upgrading a construction management system written in Fortran. I would not do that again except for truly outlandish pay and perks.

Also: don't touch ISAM. You've been warned


👤 moistly
I love learning, and I like being paid well, so I’ll happily work in any language. Puzzling out the program flow is good enough fun. Makes the brain work.

👤 anm89
A fat bag of cash. 500k+

👤 Komodai
$15 million a year :)