I studied Turbo Pascal in 1997 and I liked it very much as a language. Everything was very structured and the compiler made sure you did things the right way. I later tried Delphi but never got very interested in it.
Since then I've used a lot of different programming and scripting languages (C, C++, PHP, Python, Perl, TCL) and recently I started thinking of my old Turbo Pascal days.
So, I am wondering for what practical purposes Pascal could be useful today and what API's and frameworks are available. Does anyone have experience using Pascal in a modern development environment or is it just a dead language?
To clarify my question: Can Pascal be used for modern application development. Is it being used and how?
Wikipedia links or quick Google searches will not help, I've been there. That is why I am asking the 'experts'.
Developed in the late 1960s, Pascal is an imperative and procedural programming language that was originally designed for teaching programming languages. Today, it's been mostly replaced by C, C++ and Java, but it's still used as an introduction to programming.
Pascal law states Pressure applied at any point of a liquid enclosed in a container is transmitted without loss to all other parts of the liquid. Hydraulic press, Hydraulic jack system, and brake system are a few applications of Pascal law.
During the late 1970s and '80s, Pascal was one of the most widely used languages for programming instruction. It was available on nearly all computers, and, because of its familiarity, clarity, and security, it was used for production software as well as for education.
Current Version Version 3.2. 2 is the latest stable version of Free Pascal.
Note that older (1.0.x) versions of the Free Pascal compiler sources were effectively Turbo Pascal compatible (as in could be debugged with TP), which demonstrates basic Pascal capabilities.
The question of use of Pascal as a basic language is roughly the same as for C, since they are nearly equivalent on a language level. The only difference is the amount, versatily and quality of compilers.
I would strongly recommend to go in the direction of the Delphi dialect though (either using Delphi or Lazarus/FPC), and not go back to Turbo.
The DOS-isms and 16-bitisms would seriously limit you, and nearly the entire dialect that is free from DOS-isms and 16-bititms is supported by FPC or Delphi.
Turbo Pascal was one of the (if not THE) main compilers of the DOS era, and Delphi is still the second most sold IDE in the world (after visual studio), so I think the "dead language" and "teaching language" bits are a bit exaggerated.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With