Earlier quoted context omitted.
"smalltalk cutest feature is the named parameter syntax trick..." make-range from: 10 to: 20 calss (make-range.from:to 10 20) or something similar. Free nanodsls For the uninitiated among us, what does that do and what's so magic about it?
So the example would be: 1 to: 10. Sends the "to:" message to the number 1 with the parameter 10. Returns a range representing the numbers from 1 to 10. You can then iterate that range with by sending it the "do:" message with a block argument. 1 to: 10 do:[ :i | ]. And so on. Looks a lot like syntax for a for-loop, but is just message sends to collections with keyword syntax. Every type of collection implements do:…
From APIs to languages: generalising method names
https://dl.acm.org/citation.cfm?doid=2936313.2816708
pdf: https://michael.homer.nz/Publications/DLS2015/paper.pdf
morning paper: https://blog.acolyer.org/2015/11/09/from-apis-to-languages-g...