News for hackers. Stuff that matters.
Re:Crystal: Fast as C, Slick as Ruby by pw on Thursday August 04, 2016 @01:21AM (#12223546)
I'd love for you to elaborate on (2). I don't think that's a criticism of Ruby I've heard before.
Re:Crystal: Fast as C, Slick as Ruby by catnaroek on Thursday August 04, 2016 @01:29AM (#12223578)
(2) wasn't particularly aimed at Ruby, although some “creative” uses of metaprogramming can be very hard to debug. But languages designed for systems programming typically have features that, when used wrong, result in totally catastrophic modes of failure.
Re:Crystal: Fast as C, Slick as Ruby by yxhuvud on Thursday August 04, 2016 @05:25AM (#12224382)
Well, you don't have runtime eval or send in Crystal, so some variants of metaprogramming can be ruled out.

However, there are compile time versions of method_missing, delegates and instance_exec available (usually with slightly different naming due to not having the exact same semantics as the ruby counterparts), so it is still possible to do some magic.