Live data from Hacker News

A guided intro to the Free Pascal language

getlazarus.org

1–10 of 102 posts

Re: A guided intro to the Free Pascal language

#4
post #3

Pascal killed my interest in programming for a while as it was force fed in both high school and earlier collage years. Reflecting back, it was the pessimistic approach to teaching of just pushing math problems via programming.

Free Pascal was originally derived from Object Pascal and later Delphi, both of which added more object oriented programming features to Pascal. Additionally, it supports some of the more advanced features introduced to Pascal with later releases of Delphi including managed types, interface types, operator overloading, generics, implicit and explicit conversions, extension properties and methods, as well and user defined initializers and finalizers for your custom types, and more.

I could write an article about each of these features, but in summary they each are powerful and help users write more useful programming code when leveraged correctly.

Re: A guided intro to the Free Pascal language

#5
post #3

Pascal killed my interest in programming for a while as it was force fed in both high school and earlier collage years. Reflecting back, it was the pessimistic approach to teaching of just pushing math problems via programming.

I also experienced mandatory Pascal classes in high school and similarly hated it, especially because I already knew other programming languages.

Much later however, I started really appreciating Pascal, both as a teaching language and as a multiplatform language.

PeaZip, CudaText, Transmission Remote GUI, UltraStar Deluxe and plenty others are written in FreePascal.

Re: A guided intro to the Free Pascal language

#6
post #3

Pascal killed my interest in programming for a while as it was force fed in both high school and earlier collage years. Reflecting back, it was the pessimistic approach to teaching of just pushing math problems via programming.

Pascal aside, back when I was 10 my father also tried to force math programming to me when I showed interest in games. Apparently it didn't work.

Re: A guided intro to the Free Pascal language

#9
post #3

Pascal killed my interest in programming for a while as it was force fed in both high school and earlier collage years. Reflecting back, it was the pessimistic approach to teaching of just pushing math problems via programming.

Pascal is a great language for programming games as is evidenced from Delphi Quake and Delphi Quake 2 projects https://sourceforge.net/projects/delphiquake/

I believe the right approach to programming is graphics for kids.

Re: A guided intro to the Free Pascal language

#10
post #8

Is there a way to use the Lazarus libraries, but write code in C++, like with C++ Builder?

yes, i believe delphi rad studio has c++ compiler and the libraries are written in pascal, it is a lineage from c++ builder.

https://cppcast.com/cpp-builder/ - this is the podcast where embarcadero devs tell about how they maintain number of patches to llvm's compiler to make it compatible with necessary non-standard features like closures.

this also tells us that c++ became so big and complicated that one company (embarcadero size company) is not able anymore to support own compiler, they need to maintain own patches.

Post reply on HN