On 1/2/2023 3:01 AM, Alan Gauld wrote:
On 02/01/2023 02:14, avi.e.gr...@gmail.com wrote:
I used PASCAL before C and I felt like I was wearing a straitjacket at times
in PASCAL when I was trying to write encryption/decryption functions and had
to find ways to fiddle with bits. Similar things were easy in C, and are
even easier in many more recent languages such as Python.

That's true of pure Pascal. But Thomas was talking about Turbo Pascal
which had extra functions and features for all those "real world" type
things. (And you could insert some inline assembler if all else failed)
It also relaxed the ludicrously strict typing slightly. Turbo Pascal
made Pascal a joy and I still use Delphi for Windows programming today.

If Python weren't around, I might be doing that myself.

TP also introduced classes to Pascal (although Apple had already done
so for the Mac and Borland basically ported the syntax to the PC).

That was V5.5, wasn't it? Classes were a hugely useful extension to TP. I used a version with classes (a later version that had a graphics primitives module) to write a window manager (in DOS graphics mode, all 350 X 200 pixels of it).


--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to