Hacker News new | ask | show | jobs
by nurettin 1555 days ago
> Personally, I thought the muddled Proc, block, and lambda situation a mess

Why not use one (probably just block) for everything? Coming from ruby 10 years ago.

1 comments

Blocks can't be stored in variables.
Yes, I don't store them in variables, but I can expand them in generators and yield them. To me, that is much more useful than storing them.