← Back to context

Comment by SwellJoe

16 hours ago

A lot of my earliest programming experiences were with Pascal. Apple Pascal in high school on Apple IIe and II+ machines. Later, Turbo Pascal on my dad's PC. I worked with the developer of IBM's Oberon system for OS/2 something like 20 years ago, and he considered it among his favorite things he'd ever worked on.

Every time I see a Borland style interface or that weird Pascal syntax, I flash back, and remember that feeling of...something like power; the ability to make the computer do anything you wanted, not just what you could already buy/pirate on disk.

That said, there's a reason I didn't keep using Turbo Pascal once I had access to C and Perl on Linux systems. Some things are better than others, and Turbo Pascal and things like Turbo Pascal are nostalgic, but not exactly good. (Then again, I'm working on games for C64, so nostalgia does things to a body.)

For me turbo pascal - with inline assembly - was the pinnacle. I got into c and later c++ because I had to, but always found the symbols slightly harder on the eyes and surprisingly not faster to type. And I was always frustrated by the bloat of the executables and the much slower compilation times. And the runtime speed - I was doing a lot of assembly, it was something I became interested in even on projects that didn’t need it - was actually much faster in TP. It was, in my eyes, the perfect blend of easy on the eyes syntax, blazingly fast compilation and runtime and small easy to share executables.

Then of course Delphi came along and made all that true for windows apps too!

So somehow I chime with how your comment starts but have such different memories of how it ends :)

I am so glad to have had the luck to learn coding via various BASIC flavours, Turbo Pascal, Z80, 8086 Assembly before getting into C and C++, as I wasn't tainted about C being God's revelation for systems programming, that many seem to have.

After learning C, I quickly switched to C++, alongside Pascal, and stayed on Borland ecosystem until Visual C++ 6.0 came to be, followed by .NET.

On UNIX, C++ was my Typescript for C, as back then there wasn't FreePascal, and most Pascal implementations for UNIX sucked, plain standard Pascal, or P2C.

I also had the pleasure to have a myriad of other programming languages, including Oberon, yes it was rather cool for its time.

The way most modern languages have gone back to Pascal style development feels quite enjoyable.

  • In what ways have they gone back to Pascal style?

    • Some things, that are not only Pascal, but languages influenced by it during the 1970-1980's.

      The most obvious one is type declaration order.

      Strong typing, with more explicit casts, to what C devs used to call straightjacket programming on BBS and Usenet discussions.

      Striving to go back to toolchains with fast compilation times.

      Being able to use high level concepts, while at the same time having the primitves for low level coding, no need for everything is a pointer, when the compiler can take care of it

      The spans everyone is talking about nowadays, used to be called open arrays in Extended Pascal and Modula-2.

      Arenas, were marked regions, see Mark/Release.

      While one can advocate that Rust is more Standard ML, Go, Zig, Odin show clearly how Oberon or Modula-2 would look like with more curly brackets and lowercase keywords.

      3 replies →

I usually install Lazarus on my pc though seldom use it now. Still want to pick it up someday to compensate my miss in childhood. Only used turbo C then.

My first experience with Pascal was only a few years ago by way of Lazarus which is now my go-to tool whenever I need to build a GUI for myself. Genuinely enjoy it and find it a much more pleasant experience than C. I'm sort of sad I missed the heyday of the Borland tooling because it seems incredibly productive even without nostalgia.

  • It definitly was, see the Turbo Pascal manuals for MS-DOS, and Windows 3.x that are available on the digital archive.

    Everyone is talking about Ratatui nowadays, go check what Turbo Vision in Turbo Pascal 6 already offered in the world of MS-DOS PCs in the early 1990's, with the IDE as basis to show its capabilities as TUI framework.