3 ms·
I'd start with most of the best parts of Delphi/Free Pascal Insanely fast recursive descent single pass compilation. Assignment and equality test have differe
by mikewarot 4y ago
I'd start with most of the best parts of Delphi/Free Pascal
Insanely fast recursive descent single pass compilation.
Assignment and equality test have different tokens := vs =
Var parameters instead of messing with pointers
Functions return values, procedures don't
Strings that are automatically reference counted (no allocation or garbage collection to worry about), counted (so you always know how many bytes of text you have), and just work, yet can hold at least a gigabyte
Units for separate compilation
Strong typing
Then I'd add some things from elsewhere
pre and post increment/decrement from C
declarative programming, using a "magical assignment operator" <<==<< or something like that to indicate that the left is always made to equal the expression on the right, and updated any time the expression changes. -- from an experiment called Metamine that was here a few years ago
- hyperswine 4y agoId be fine with delphi if their IDE was available on other systems like linux or mac. I also kinda find fpc a bit verbose and clunky. Something like an elm interface would make sense I think + the points you laid out
- mikewarot 4y agoI'm surprised that Delphi isn't available on other platforms. Lazarus-IDE is... I've run it on a Raspberry Pi Zero W in the past. I've just switched to Ubuntu 22.04 LTS as my daily driver, and am installing Lazarus here as well.