4 ms·
Meta programming is much much easier in dynamically typed languages like ruby. It completely eliminates the use of interfaces, because you can call any method o
by minhajuddin 14y ago
Meta programming is much much easier in dynamically typed languages like ruby. It completely eliminates the use of interfaces, because you can call any method on any object. If you want to do it defensively, just check if the object has the method you want on it before calling it.
I think statically typed languages have a lot of ceremony around doing something, whereas dynamically typed languages just get out of your way.