logoalt Hacker News

They don't make 'em like that any more: Borland Turbo Pascal 7

151 points • by andsoitis • today at 4:06 PM • 85 comments • view on HN

Comments

renehsz • today at 8:55 PM

[delayed]

bdamm • today at 6:47 PM

Turbo Pascal was a glorious tool for my imaginative 15-year-old brain. The first programs I sold were all written in Turbo Pascal. I had the Turbo Pascal reference books near my bedside, and I wish I still had them because they were dog-eared, post-it noted, margin-scribbled, and it's kind of strange but those books guided my future almost more than any other written text.

One distinct memory stands out. I could not wrap my mind around the Object-Oriented extensions on Pascal. I read, re-read, and re-re-read the section of the book describing what polymorhpism is and how it worked, probably at least a dozen times. Somehow it seemed really important and I kept coming back to it. I worked the examples. And then one day the ah-hah moment arrived. I remember it felt like a shock, why it was useful and what I could do with it. I promptly used my knowledge to write a new game using OOP principles to guide the rudimentary "characters" of various geometric shapes at the core of the game.

Fun times, and very formative to me!

throwaway81523 • today at 5:19 PM

Required reading, "Things Turbo Pascal is Smaller Than", https://prog21.dadgum.com/116.html

And: "A Personal History of Compilation Speed, Part 2" https://prog21.dadgum.com/47.html

➕ show 1 reply
orthogonal_cube • today at 5:03 PM

Man, I haven’t seen Turbo Pascal since high school. We were lucky enough to have a CompSci class taught by our Stats teacher.

He offered three courses. CompSci 1 used Turbo Pascal and Delphi. CompSci 2 used C++ and Java. CompSci 3 used Microsoft Turbo Assembly and a language of the student’s choice.

We had to write our code and save them to floppy discs for submission since the lab systems had DeepFreeze installed on Win95, so any local storage wouldn’t persist.

➕ show 3 replies
ilaksh • today at 8:14 PM

Anyone remember Turbo Pascal DiskTutor? My older brother bought that for me for my birthday and I used it to learn object oriented programming. This was DOS still.

I used Turbo Pascal in 8th grade to create a simple type of 3d wireframe CAD-like tool on the PC in my bedroom.

Then in AP Computer Science in high school we had (TUI) Turbo Pascal also.

I always remember that type/style of TUI fondly. It periodically pops up in my head out of nowhere. Like just yesterday I randomly decided to add a Borland-style menu to my Starship prompt as an experiment. I accomplished that by writing about two sentences to an AI.

My actual job at this point is feeding tasks into AI and judging whether it answered just the way I wanted.

mapontosevenths • today at 5:00 PM

> "That almost nobody has the skills these days to implement something like TP is something we could eventually come to regret – or, rather, our grandchildren could. Software development is becoming a semi-skilled industry, and I doubt that the rise of AI will entirely compensate for this."

I agree, but AI also there is hope!

For many years I've worried about the ever-growing depth of abstraction in computing. There are few alive now who actually understand all of the layers on abstraction involved in modern computing, and who can debug the truly strange edge case bugs and vulnerabilities introduced by the interoperation of these many complex layers.

For a time I imagined it to be an unsolvable problem, and that there would always be only a special class of neurodivergent hyper-specialists who still mostly had to work in large teams to even come close to understanding a stack in full. We're reaching the point where a single human lifespan just isn't enough to learn it all, even for those of us with what Dilbert called "The Knack". By the time you're proficient in all of it - you're dead.

Now there is a new kind of intelligence. One that CAN fit it all in a single mind, and one that will outlive us all and continue to learn long after our meat has gone bad.

As long as the AI's stay aligned, and we find ways to build them more efficiently there's a non-zero chance that they actually make it all better instead of worse. Genuinely long-term planning and the ability to TRULY grasp the full stack COULD actually happen. At least if we use these new systems in service of the greater good, and not just to play silly games on the stock market.

➕ show 8 replies
rr808 • today at 7:28 PM

The best things about TP and even VB was how fast everything was to develop. When I'm sitting there watching our CI build take 45 minutes to deploy, I still remember turning around changes and copying to release file server in just a few minutes.

lgl • today at 5:45 PM

This hits home. Turbo Pascal was the thing (although I've barely noticed at the time) where I learned actual programming, as we know now.

I had played a lot with the Spectrum (a Sinclair zx spectrum 128k) and its BASIC interpreter but that was mostly copying from magazines and changing some parameters. And BASIC is weird :)

A few years later in school in the 90s, Pascal was "the" language that most people learned the basics in, at least in my country.

Unknowingly I sort of absorbed all that and it only started making sense when a few years later I decided to get into actual programming with perl and eggdrop bots and plugins or whatever they were called.

Damn, the 90s, IRC and Quake were awesome!

analog31 • today at 5:59 PM

Fun anecdote: When I was in college, my dad read an article in the Wall Street Journal about Turbo Pascal, so he bought me a copy for my birthday. That was version 1. I stuck with TP through grad school and a little bit beyond. It seemed like there wasn't anything it couldn't do. Some of my hardware hacking adventures even required inline assembly. Some of the version bumps were really timely, such as a new compiler that created stand-alone executables. I was extremely lucky that the original TP ran on my non-PC-compatible MS-DOS machine, a Sanyo MBC550.

My graduate advisor had Microsoft FORTRAN, and I tried it out. It was a monstrosity. The compiler and linker had to be on separate floppies, and took eons. My advisor admitted that he had largely switched to BASIC.

armcat • today at 4:58 PM

My first real programming project was creating a pong clone on DOS using Turbo Pascal, as a 12 year old, in the mid 90s. Many years later, when I was in the penultimate year of uni, I worked as a freelance Delphi programmer. I had no idea Pascal would help me buy my first car many years later.

huhtenberg • today at 6:30 PM

Borland-linked piece of lore I like the best is that upon release of the original Turbo Pascal, which was advertised in the Byte magazine for $49.99, they were drowned in orders so much so that the Post Office put stop on incoming checks because they suspected it was some sort of fraud.

Don't know if the last bit is true, but they did make 150K in sales in the first month ... from a single ad and in 1980s dollars, which is quite remarkable.

florisvink • today at 7:14 PM

I was about 15 when a school friend and I spent entire days writing simple video games in Turbo Pascal. That experience is what got me into programming, and it became foundational for my entire career. I still look back at those days with a big smile.

monster_truck • today at 5:34 PM

The only real association I have with "Borland" is that I needed their $199 compiler to share my LibertyBasic programs with friends as .exe's when I was in middle school. That was a ton of money in the late 90's. It was singlehandedly the catalyst to me realizing I could pirate more than game roms on IRC.

hasley • today at 5:33 PM

Is Turbo Pascal 7 really the same as Turbo Pascal for Windows 1.5?

I think I used TP 7 and it was the usual blue IDE for DOS.

SoftTalker • today at 5:19 PM

> The name ‘Turbo’ was associated with what were regarded as hobbyist products

"Turbo" was also a short-lived pop-slang term roughly meaning "cool" or "awesome." I never heard it used much but a lot of products in that era had "turbo" in the name.

➕ show 3 replies
PeterStuer • today at 6:59 PM

Maybe unfair, but at the time I had to do a project in Turbo Pascal. Up 'till then I had been using Think Pascal on the Mac. There was no comparison. I felt like I was trown back a decade. Not that the raw capability was that different, but boy, the UX. I hated it.

BigTTYGothGF • today at 7:28 PM

> That almost nobody has the skills these days to implement something like TP is something we could eventually come to regret

Almost nobody back then had the skills to implement something like TP, that's why it was so exceptional.

msdz • today at 4:59 PM

As someone born after the release of TP 7, this was a fascinating read!

I wouldn’t necessarily have expected for Microsoft to make development (at least the “intended” way) for early not-just-DOS Windows this unergonomic, but now in hindsight, it’s also not that surprising, really.

prmph • today at 5:26 PM

Oh those were the days, I remember developing my first non-trivial piece of software (an international checkers game), while still a student, with Turbo Pascal. It run to more than a thousand lines of basically the Minimax algorithm plus various optimizations (alpha beta pruning, quiescent extensions, etc)

I have fond memories of the language, the IDE, libs like TurboVision, ObjectWindows, etc... And fun times with the demos TVChess and OwlChess, which gave me inspiration.

barelysapient • today at 5:32 PM

Man, I have so many good memories as 9 or 10 year old kid writing Turbo Pascal 7.

The terminal IDE that it came with, if you can call it that, was ahead of its time.

ivolimmen • today at 5:25 PM

I used Borland OWL under Windows at school. I moved to Java later on and felt the sting on the last line...

_russross • today at 5:45 PM

tcc/tinycc doesn't have the IDE but is the same compiler approach applied to modern(ish) C. Tiny, fast, and fun to use.

If you ever feel like you need a palate cleanser after reading AI code, go dig into any Fabrice Bellard project.

pjmlp • today at 5:29 PM

I can definitely vouch for Turbo Pascal, having learnt it before C was definitely a good school that strongly typed languages doesn't hinder systems programming, nor higher level ergonomics.

evrydayhustling • today at 6:16 PM

TP 7 you say?? That's the one that made me quit - they could pry the blue ascii IDE out of my cold, dead (high schooler) hands

egorfine • today at 4:57 PM

> Windows 3.1 [] not that there were many alternatives at that time

OS/2 was more popular than Windows 3.1.

Update: or maybe it wasn't. Seems like different bubbles had different mainstream OS.

➕ show 6 replies
BorisMelnik • today at 5:07 PM

great writeup, fun reminder windows 3.1 sat on top of dos

egorfine • today at 5:11 PM

TPC.EXE /C

never forget

ulfw • today at 5:15 PM

Never been a big Pascal fan (though learned and used it back in the day) but i learned C and built my first Win16 and Win32 Apps for Windows 3.x and Windows 95 in Borland Turbo C(++). That was truly magical a time!

The printed documentation alone was half a meter long.

phoronixrly • today at 4:50 PM

No, now you are running an IDE that is badly pretending not to be a browser, while an entire second application has to work in the background eating even more RAM to provide you with access to documentation for each function at the cursor...

➕ show 2 replies
DRLogvinovich • today at 6:04 PM

[flagged]

mlvljr • today at 7:01 PM

[dead]

szundi • today at 4:47 PM

I have learned PC programming on the DOS version.