3 ms·
Ah...isn't D close enough to being a superset of C that it's perfectly usable as a non-OOP language, in educational contexts?
by bell-cot 5y ago
Ah...isn't D close enough to being a superset of C that it's perfectly usable as a non-OOP language, in educational contexts?
- WalterBright 5y agoYes, it is. And you don't have to suffer under a preprocessor! (It's impractical to program in C without using the preprocessor, and the preprocessor requires use of a lot of very outdated programming practices.) D can be used in "BetterC" mode, where it operates as what C could be with modern sensibilities.
- alphaglosined 5y agoUnless you are touching something like threads or exceptions, you probably won't use classes unless it expresses your data best. So yes, perfectly usable without OOP or classes.