2 ms·
"Great web frameworks like Ruby on Rails, for example, can’t be built without relying on a more dynamic language." You don't necessarily want dynamism, you wan
by adamnemecek 10y ago
"Great web frameworks like Ruby on Rails, for example, can’t be built without relying on a more dynamic language."
You don't necessarily want dynamism, you want metaprogramming.
- supster 10y agoInteresting, 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.