4 ms·
One of the interesting features is that modules receive parameters instead of importing names. So dependency injection is 'built-in'. The author speaks about t
by PuercoPop 11y ago
One of the interesting features is that modules receive parameters instead of importing names. So dependency injection is 'built-in'.
The author speaks about the design focus of newspeak (modularity, security, reflectivity, interoperability) a bit more here[0]
[0]: http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=6898742 http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=6898742
- agumonkey 11y agoSince I've learned LambdaCalc and interpreters I've always been curious why modules were such an oddity, statements in most languages, and even in ML it's still a separate entity (even though research has been made to express it as a single core). Seeing newspeak a while back felt refreshing. I don't know if there are caveat doing things this way though.