4 ms·
Ruby has to have runtime metaprogramming because it has no other time but run time. Compile-time metaprogramming is way safer and more performant, but for it y
by nine_k 6y ago
Ruby has to have runtime metaprogramming because it has no other time but run time.
Compile-time metaprogramming is way safer and more performant, but for it you need a compiler.
- norswap 6y agoBut Crystal doesn't have those either.
- hamandcheese 6y agoYes it does? https://crystal-lang.org/reference/syntax_and_semantics/macros.html https://crystal-lang.org/reference/syntax_and_semantics/macr...