17 ms·
As I only have used Modula-2 and Go, what are the features of Modula-3 missing in Go?
by _ph_ 11y ago
As I only have used Modula-2 and Go, what are the features of Modula-3 missing in Go?
- pjmlp 11y agoQuite a few: - Enumerated types - Enumerations as array indexes - Generics - Classic OO with inheritance - Untraced references in unsafe packages - Unsafe packages for low level systems programming - Exceptions - Reference parameters - Bit packing - Since Modula-3 was a system programming language for SPIN OS, the runtime library was richer, including GUI components There a few other features.