Live data from Hacker News

Why use Pascal?

castle-engine.io

281–290 of 516 posts

Re: Why use Pascal?

#281
post #271

Earlier quoted context omitted.

Just search any job board for 'spark', you will see plenty of banks and many other companies.

Plenty of banks isn't every bank.

Those are just the ones you will see from a random sample of job postings. There are many others out there that are not posted at any given moment. If you don't believe me just talk to any data scientist who has worked at or does work at a bank.

Re: Why use Pascal?

#282
post #128

Pascal is actually good and perfomant. It was the second language I picked up in high school after Basic. I don’t understand why as an industry we had to regress to Python, Ruby, Java, & Javascript in late 90s & early 2000.

> I don’t understand why as an industry we had to regress to Python, Ruby, Java, & Javascript in late 90s & early 2000

Computers got faster and added more memory, so they had to come up with a use for it. ;-)

Also the web browser became a popular programming platform and mainly used JavaScript. They're still trying to cram a full OS into web browsers in addition to the browser part. Chrome is getting close.

Re: Why use Pascal?

#284

In the future, if you ever create a teaching language, please point out clearly to the students that it's a teaching language.

Pascal is fairly isometric to a C subset (with a few exceptions such as sets, range types and indices, or printing out enumerated constants.) As a result there are readily available Pascal-to-C translators that produce working, compilable C code.

Pascal isn't a memory safe language (e.g. use after dispose()), but the parts of C that are harder to mechanically translate into Pascal are often the unsafe bits.

Re: Why use Pascal?

#285
post #233

Earlier quoted context omitted.

The funny thing about that, is here we are in 2023. Lots of its competitors and haters are likely still asking, "Why won't it die?" TIOBE index has Delphi/Object Pascal ranked at #11. That's ahead of "top players" like Go, Rust, and Swift.

Too bad the TIOBE index is not representative of the real world. And it certainly won't get you a job either. If I had to chose between go/rust and pascal/Delphi for a healthy ecosystem or for job offers, I know which one I would chose. Especially early in a career. Ok maybe rust jobs aren't so common either, but swift and go are for sure. And that's not even mentioning the de facto vendor lock in when using Delphi i…

TIOBE is arguably the most reliable one, though all of them are arguably flawed in various ways.

Not saying the other languages mentioned don't have jobs, they are after all "top 20" languages too. But, Pascal/Object Pascal/Delphi is around a lot more and has more opportunities than many might be thinking. Especially from a worldwide point of view, and not just for the U.S.A Pascal/Delphi is still taught and used in a lot of schools around the world. While Go, Rust, and Swift are not. There are still massive amounts of legacy projects and code, not to mention Embarcadero is still selling Delphi and doing well enough to stay in business.

I think the mistake that some make is the time frames that it takes to displace older and previously popular or dominant languages. Popular this year or a few years, does not usually and instantly erase that some other language was popular for 20 or 30 years.

People run around saying COBOL, or even languages like Ada or PHP are dead, yet various institutions and companies are begging for programmers that know them. Those claiming a language is "dead", can be quite suspect too, because they are competitors who "wish" it to be so. "Is dead", "wish it was dead", or promoting sites "claiming the competitor's language is dead" are clearly a bit different.

Because a language is popular this year, does not necessarily offset all the years that an older language was popular and in use. Lastly, Object Pascal/Delphi did not just fall completely off the charts either or stopped being used at all. It stills maintains significant levels of competitive popularity around the world.

Re: Why use Pascal?

#286
post #239

We need to bring back Oberon. Fast compile times, automatic memory management, live environment.

It was great for its time, nowadays we would be better off having a similar experience based on Go, C#, D,...

Add Vlang in there too, which inherited the Oberon-2 method syntax and has Pascal/Wirthian influence.

Re: Why use Pascal?

#287
post #271

Earlier quoted context omitted.

Plenty of banks isn't every bank.

Those are just the ones you will see from a random sample of job postings. There are many others out there that are not posted at any given moment. If you don't believe me just talk to any data scientist who has worked at or does work at a bank.

Those busy using R, Python, Excel, alongside PowerBI and Tableau?

Re: Why use Pascal?

#288
post #287

Earlier quoted context omitted.

Those are just the ones you will see from a random sample of job postings. There are many others out there that are not posted at any given moment. If you don't believe me just talk to any data scientist who has worked at or does work at a bank.

Those busy using R, Python, Excel, alongside PowerBI and Tableau?

No, the ones using Spark. Do keep up!

Re: Why use Pascal?

#289
post #285

Earlier quoted context omitted.

Too bad the TIOBE index is not representative of the real world. And it certainly won't get you a job either. If I had to chose between go/rust and pascal/Delphi for a healthy ecosystem or for job offers, I know which one I would chose. Especially early in a career. Ok maybe rust jobs aren't so common either, but swift and go are for sure. And that's not even mentioning the de facto vendor lock in when using Delphi i…

TIOBE is arguably the most reliable one, though all of them are arguably flawed in various ways. Not saying the other languages mentioned don't have jobs, they are after all "top 20" languages too. But, Pascal/Object Pascal/Delphi is around a lot more and has more opportunities than many might be thinking. Especially from a worldwide point of view, and not just for the U.S.A Pascal/Delphi is still taught and used in…

Good analysis, including the point about competitors.

Re: Why use Pascal?

#290
I'd rather use Oberon or Modula-3 if I have to use an algol style procedural language.

But really, I'd rather use a modern lisp.

Post reply on HN