2 ms·
~ 40 years ago, Smalltalk had: (1 to: 20) collect: [ :each | Array with: each with: 'hey' ] And Smalltalk got it from Lisp. Just saying for comparison. Edit
by e_coli 5y ago
~ 40 years ago, Smalltalk had:
(1 to: 20) collect: [ :each | Array with: each with: 'hey' ]
And Smalltalk got it from Lisp.
Just saying for comparison.
Edit: forgot to mention - the syntax is entirely consistent and unlike Linq does not seem bolted on to the rest of the language.