News for hackers. Stuff that matters.
Re:Crystal Programming Language by nurettin on Friday September 02, 2022 @04:12AM (#32688042)
> 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.

Re:Crystal Programming Language by xigoi on Friday September 02, 2022 @06:22AM (#32688963)
Blocks can't be stored in variables.
Re:Crystal Programming Language by nurettin on Friday September 02, 2022 @07:06AM (#32689216)
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.