3 ms·
Free Pascal/Lazarus is also near the top of that list, and it lacks a bunch of constructs that make handy footguns. It doesn't do macros. It doesn't have a
by mikewarot 5y ago
Free Pascal/Lazarus is also near the top of that list, and it lacks a bunch of constructs that make handy footguns.
It doesn't do macros.
It doesn't have all the .H files.
It doesn't default to null terminated strings
It also has a lot of nice features
Begin/End make it easy to see blocks
It has clear syntax for dealing with pointers. @P is the address of P, P^ is what the pointer P points to
It makes it easy to tell assignment := from equality tests =
It defaults to passing function parameters by value, but can also pass by reference, or pointer.
It does separate compilation (units)
Strings are memory managed for you, counted, and can even have nulls in them.
Identifiers aren't case sensitive.
It now supports for .. each in loops
You can even participate in the Google Kickstart rounds in free pascal to hone your skills.
- KronisLV 5y agoIf anyone would like to learn a bit more about Pascal, have a look here for something pretty up to date: https://castle-engine.io/modern_pascal_introduction.html https://castle-engine.io/modern_pascal_introduction.html As for the IDEs, Lazarus is indeed a great option, allowing for both desktop software and most other kinds of development (though admittedly Pascal's strengths don't lie in webdev): https://www.lazarus-ide.org/ https://www.lazarus-ide.org/