3 ms·
Pascal - I've been writing units in Turbo Pascal, Delphi and Free Pascal. I wrote a cooperative multitasker for it under DOS back in 1987.[1] Units have been pa
by mikewarot 4y ago
Pascal - I've been writing units in Turbo Pascal, Delphi and Free Pascal. I wrote a cooperative multitasker for it under DOS back in 1987.[1] Units have been part of it for a very long time.
The advantage is that the Interface, Implementation and Initialization are all in one source file, and dependencies are resolved automatically. You don't need a separate build system.
Plus, strings just work. You don't have to allocate them, dispose of them, etc.
[1] https://www.pcorner.com/list/PASCAL/TASKER4.ZIP/TASKER.PAS/ https://www.pcorner.com/list/PASCAL/TASKER4.ZIP/TASKER.PAS/
- sinuhe69 4y agoIf you like Pascal, you will love MODULA 2/3 for its brevity and expressiveness. As its name implies, MODULA 2 is predestined for building modular software. One special feature of MODULA 2 is the concurrence routines.
- mikewarot 4y agoI hated Modula 2 when I looked at it, it was broken is some really irritating ways. Taking a quick look now, as I compose this It's CaSe SeNsItIvE which is NUTS, it's one of the worst aspects of C You have to specify every function you import from a module? That's NUTS too Matching the names when you end a block... that actually sounds reasonable Strings as Array of Char? No... not back to the insanity of C strings I don't see any added features that make jumping to an even less supported language something appealing.