3 ms·
Also Ruby has 'reduce' as a synonym for 'inject'
by charliesome 14y ago
Also Ruby has 'reduce' as a synonym for 'inject'
- gingerlime 14y ago...and thank god for that. I find inject a really confusing name.
- gnaritas 14y agoThe Ruby names are copied from Smalltalk, as is much of Ruby.