Re:Simplicity is Complicated
by lg on Thursday October 29, 2009 @10:14PM
(#911387)
don't need the & before :+
[ Parent
| on HN ]
Heh. I love that you can publish dozens of technical language-tips articles in relative obscurity, then have one purely philosophical post shoot up reddit and HN - and all the language lawyers come out and quibble about the code samples!
Not that I'm complaining, mind you, I actually learned something from this comment. Thanks!
Huh! learn something new everyday. From `ri Enumerable#inject`
> If you specify a symbol ... each element will be passed to the named method of _memo_
Also, the `sum = ` part isn't really needed either.
"Fore!"