News for hackers. Stuff that matters.
Re:The Evolution of Smalltalk from Smalltalk-72 to Squeak [v... by fiddlerwoaroof on Friday August 27, 2021 @06:47PM (#28333785)
Is there a sample that demonstrates Gilad’s ideas about parameterized modules?
Re:The Evolution of Smalltalk from Smalltalk-72 to Squeak [v... by diskzero on Friday August 27, 2021 @06:52PM (#28333839)
I can only point you to the doc, which you may have already seen: https://www.bracha.org/newspeak-modules.pdf

It is worth asking on the forum to see if there is some exisiting code to show this in practice.

Re:The Evolution of Smalltalk from Smalltalk-72 to Squeak [v... by fiddlerwoaroof on Friday August 27, 2021 @10:55PM (#28335225)
Thanks, when I was working on a particularly convoluted React codebase, I realized that it's better to pass dependencies into modules rather than importing them and, when I looked around to see what prior art there was to this idea, I came across https://gbracha.blogspot.com/2009/06/ban-on-imports.html