3 ms·
Interesting, could you provide some examples?
by supster 10y ago
Interesting, could you provide some examples?
- adamnemecek 10y agoActually it's not even really metaprogramming just like expressiveness. In Ruby's case it's metaprogramming though.
- alehander42 10y agoA lot of Rails/Ruby magic hides in the dynamic "generation" of code and in the nice DSL-s. However you can typically achieve the same using e.g. macros (which work on compile time) and which can be even statically typed. The DSL thing is orthogonal: it's more related to the language syntax than to the type system.