Hacker News new | ask | show | jobs
by pjmlp 16 days ago
Object Pascal at the time Apple created it as evolution from Clascal, not as when Borlad took it up.

> Extremely fast compilation...

> Safe strings and dynamic arrays built into language

Even Lisp and PL/I have these ones, we really lost focus with C's adoption.

> I would argue that if you gave ObjectPascal a C-ish syntax and added built-in concurrency and GC, it would look and feel more like Go than anything else.

That is C++ Builder.

1 comments

Lisp is not natively compiled or statically typed. I think you're missing the point here. C++ Builder is nothing like ObjectPascal or Go.
Lisp surely is compiled, since the early 1970's.

I have used all Borland products starting with Turbo BASIC 1.0, moving into Turbo Pascal 3.0 and then all TP versions, Turbo C++ 1.0 all the way up to the last Turbo C++ for Windows 3.1 version.

Delphi up to Delphi 5, and the accompanying C++ Builder releases.

Go is really nothing like Object Pascal, nor in features, nor in spirit.

It is a mix of Limbo with Oberon-2 method syntax, from UNIX folks that were always quite against Pascal, none of the authors is fond of Object Pascal, and it shows.

Again, "in spirit". Go and ObjectPascal are both a pragmatic, engineering-focused, imperative/procedural, strict, simplistic, statically typed languages with mutability and no memory safety — the differences are superficial, and the philosophies are very close. There is a huge conceptual and philosophical distance between them and, say, Lisp or PL/I or indeed C++.
Again, only Object Pascal as initially released by Apple.