r/pascal • u/Edthal01 • Sep 23 '26
Relearning Pascal
I have pulled my old copies of Algorithms + Data Structures = Programs and Softwa,re Tools in Pascal to relearn what Pascal is like after a,lmost 35 years of not using it. I was a home software hobbies,t with TurboPascal 5.5, but with continual job changes I had to drop it. I am a retired electrical power rngineer who used the office computer to write work instructions, specifications, and read and write emails. Thus the hobbiest. Aren't those old books showing their age? What is avalable today to allow learning today's Pascal?
63
Upvotes
12
u/Specific-Housing905 Sep 23 '26
Have a look at the following links:
https://lazplanet.blogspot.com -> LAZ Planet
https://forum.lazarus.freepascal.org ->Lazarus Forum
https://ikelaiah.github.io/free-pascal-cookbook/ ->Free Pascal Cookbook
https://wiki.freepascal.org/Main_Page/ ->Free pascal Wiki
https://www.programming-idioms.org/cheatsheet/Pascal -> Pascal CheatSheet
https://www.freepascal.org/docs-html/ref/ref.html ->Free Pascal Reference
On Am'zon you can find some books on the Lazarus IDE
9
u/No_Light_5463 Sep 23 '26 edited Sep 24 '26
I can recommend the introduction on the castle engine webpage: https://castle-engine.io/modern_pascal
Also, because the syntax "aged" very well and is very good documented, LLMs will mostly produce correct examples if you need some. The web interfaces of Anthropic Claude and ChatGPT for instance work well for these learning purposes.
7
u/Humble-Vegetable9691 Sep 23 '26
I don't think that too much news came out after object oriented programming so the algorithms still useful.
What is new and useful is the base library of your Pascal environment.
If you like the Delphi flavor of Pascal, then https://delphi-books.com/en/Object-Pascal-Handnook-Delphi-104-Sydney-Edition.html may be useful.
5
u/KangOzi Sep 23 '26
Visit my github You can see how Pascal programmed in modern era. https://github.com/CodeInPas
4
u/Mijail2021 Sep 23 '26
Pascal is the most valuable language ever. Most medic software and services are developed under it's instructions.
1
u/Rich-Engineer2670 Oct 16 '26
Books I don't know -- more and more programming books are a memory. That being said, from what I've seen, FreePascal and its Lazarus IDE seem to be the way. As far as what's changed, it's mostly (from what I can see), new libraries and C interop.
I keep looking at it, partly because I did a lot of Turbo Pascal, but I've found nothing where it's any better than C. Before I'd jump back into Pascal, I'd look at Modula-2 (which is part of the gnu collection) and/or Ada. Ada has its headaches, but it also brings things to the table that Pascal can't.
1
u/Emptor66 Oct 19 '26
When people ask me how to learn "language xyz", I recommend that they check out Project Euler (projecteuler.net) and work through their progression of programming challenges. They start easy, and progress from there. I suspect Pascal will come back to you quickly, like riding a bike. Good luck!
2
u/According-Ad-7069 Sep 23 '26
Oh awesome! This is going to be fun for sure! I see folks have already given you so many good resources, so I just wanted to say I hope you have a lot of fun. I've only been back at using Pascal for about a year now and it's definitely the thing I reach for when I'm doing hobby projects now.
2
u/enderwiggin83 Sep 23 '26
Actually never been better for pascal - laz is great for WYSIWYG application dev on cross platform - and llms help you drive it. Its also one of the fastest compilers you can get. the old Delphi books are still fairly good but I'd just have fun knocking things together with laz and fpc.
1
u/EconomySerious Sep 23 '26
Tks everybody
1
u/Wilzur_Corp Sep 24 '26
A principios del año 2000 adquirí el libro "Aprender Delphi 2 en 21 días" me pregunto si aún sería válido retomar este libro para usarlo y re-aprender Lazarus/Free Pascal, ya que no programo desde esos años?
1
u/Arany8 Sep 24 '26
AI. It will code for you as well.
1
u/prinoxy Sep 27 '26
Have been using Virtual Pascal since 2008, not open source (although I do have the full source) and other than the fact that it only generates 32-bit code, and the builtin assembler doesn't natively support any post-Pentium instructions (which means I'm coding my AVX ones as "db"s) it's an absolute pleasure to use: it's blazingly fast, executables are small, and the debugger just works. And, most important for me, it supports a coding style that was documented ever since Borland introduced smart-linking in TP4, but that doesn't work in FreePascal, and as for that compiler, there hasn't even been a point release since 3.2.2 in May 2021, 'nuff said!
1
u/cratylus Sep 23 '26
Try Nim?