Pascal is a "hidden" gem in the area of languages. Sadly not enough pus for it, but imagine if it have the push that other languages have...
Pascal is a "hidden" gem in the area of languages. Sadly not enough pus for it, but imagine if it have the push that other languages have...
I agree. Programmers won't look at it because they perceive it to be old and out-of-date. But the language hasn't stood still. It's a fast, low-memory language. FreePascal with the Lazarus IDE is one of the best cross-platform development toolkits for building native desktop apps.
Sadly a lot of programmers can never see beyond the verbose (but readable) syntax.
http://www.elementscompiler.com/elements/oxygene/
Exist various dialects of pascal (Modula, Oberon, etc) so is not something so far in the wind.
But if you lose too much of the syntax you remove part of the charm.
Failing that there is always Ada, .NET Native, Kotlin Native, D,...
Pascal and C give the programmer basically the same control over memory layout, no?
The way methods are attached to types appeared first in Oberon-2.
Type assertions are similar to Oberon.
The unsafe package idea is similar to SYSTEM in Oberon or Pascal.
The stronger type semantics forcing explicit casts.
(Have implementation in pascal!)