Hacker News new | ask | show | jobs
by regularfry 17 days ago
In a way it didn't, the Lazarus project is the current most well-known incarnation. But that itself tells a story: it's for desktop applications, mainly. It never really had a "here's how you do a web app" story around it. There was a period 1998-2002 when Delphi was hot (and it genuinely was very good) but all the cool kids saw PHP3 and Flash and hopped aboard, and at that point, in retrospect, you can see the start of the decline of desktop applications. By the time Rails landed in (I think?) 2008 "do everything on the web" was what a lot of people were already talking about, even if the truth of that didn't really land until much later.

Really it could have been go-lang before go-lang and I'm not sure why it wasn't other than that it wouldn't have been controllable by the folks at Google.

3 comments

I recently ported an old Delphi application to Lazarus (https://github.com/mclements/prevent). As my first experience with Delphi and Pascal, I was impressed with the smooth development experience (expected), the comparative richness of the libraries (unexpected), and the speed of the application (expected).

For a historical perspective, the original Delphi code was written by Jan Barendregt. After his death, I was the only person to have his source code -- where most of the comments are in Dutch:).

Because web was cross platform, didn’t need any “installation”, and had far better devtools included than any tech that days.
Not in 02002. In 02002 your JS devtools were that the browser crashed when you had a bug in your JS, so you would have to binary-search your recent changes to figure out which line of JS was crashing it, and you could evaluate expressions by typing javascript:(void)alert(f()) in the URL bar. No browser console, no web inspector, and the only portable DOM was image rollovers and form field values. If you wanted to generate document content in JS the only way that was portable to Netscape Navigator 4 was document.write().

I think we didn't even have bookmarklets at that point—the browsers supported them, but we didn't know that.

02002 = 2002 A.D. in "Long Now Foundation" speak: https://en.wikipedia.org/wiki/Long_Now_Foundation
Sorry I dont understand what the leading zero buys us? Surely I can distunguish between 2002 and 12002 ?
“Addressing the year 10,000 problem”, it's about time!
Pascal didn't have a good web story but web devtools were absolutely primitive and IMO still are an absurd mess compared to what Delphi offered.
> the Lazarus project

Hem hem,

https://www.freepascal.org/

---

Really, it was because pascal was the go of its day with very little corporate backing (by modern standards). A language designed around developer ergonomics with some safety in mind: lovely for teaching, but only because it was a jack of all trades.

Web units were included, it's just that php became dominant because it was stupidly easy. I myself was a pascal programmer that started writing php around the time of lazarus 0.9 / fpc 1.9 and I recall that php felt like bash scripting by comparison. Today, I consider the cgi model to be rudimentary and php itself a pile of shit.

Delphi / Lazarus were GUI frameworks not different languages, and regarding Lazarus itself I'm gonna be RMS here and say that it's GNU/Linux (which it was, for some time).

Florian Klämpfl deserves some credit.

Php stupidly easy to write something half-assed. Incredibly difficult to write something correct.

I am going to swipe at most dynamic type-unsafe languages: most developers think they are easy to write. And they are compared to type-safe. But the overall difficulty of actually maintaining a project over time and over a revolving door of coders far exceeds the difficulty of using a type-safe language to begin with.

The compiler is your friend. All the compile time error messages are runtime errors you don’t have to look for.

I get why PHP was adopted. A bunch of new coders on the web reaching for an “easy tool”. Not experienced enough to feel the slow encroachment of suck embracing them. It’s really kind of sad. We could have had better languages. Pascal in both the back and front end.

I hope we don't make the same mistake twice with LLMs.
Yes, but I'd say that Lazarus is the standard bearer for Pascal the way Delphi was back in the day. It would be the reason someone would pick up the language a lot of the time.
Sure, in the same way Rails is why someone would pick up Ruby.

It's still called RoR though.