Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

don't need the & before :+


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!"




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: