News for hackers. Stuff that matters.
Re:Crystal 0.25.1 released by yxhuvud on Saturday June 30, 2018 @03:31AM (#17429893)
It being readable is a matter of getting used to it. I find it more readable than the block version as there is less syntactic boilerplate. YMMV.

Ruby has a similar version using colon instead of dot but that version isn't chainable and doesn't take arguments so it can't do the *2.

And no, you can write out the full block just as you did in the Ruby version.

There are no comments on this comment yet.