4 ms·
It has compile time programming designed to subsume those features. So eg a generic struct becomes instead a compile time function that takes a type and returns
by sullyj3 5y ago
It has compile time programming designed to subsume those features. So eg a generic struct becomes instead a compile time function that takes a type and returns a struct
- ncmncm 5y agoThat is a wholly other set of language features, for a different purpose, and is thus no substitute. Practical languages accumulate features to better address a multitude of common real-world problems. Toy languages don't. Sometimes a toy language is adopted and grown to practicality. People always complain about that.