Hacker News new | past | comments | ask | show | jobs | submit login

> For example, why do I need the splat on the list?

You don't on the RHS, or rather, it's redundant in the given example. On the LHS you need it to prevent single element capture.. and within the ruby language, it's a fairly consistent sigil.




Wow. You're right. I'm not sure how I got that wrong. I'm sure I tried it. Thanks for correcting me!




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: