Re:An Introduction to Metaprogramming in Ruby
by zukzuk on Thursday July 27, 2023 @10:31PM
(#36902564)
Do you also not allow loops, because they are the devil’s lettuce?
Metaprogramming is just a higher level of abstraction that lets you express things that would otherwise be tedious or repetitive. It’s not that different than using a loop to avoid having to write the same thing over and over again. Avoiding it at all costs is dogmatic and kind of silly.
Metaprogramming is just a higher level of abstraction that lets you express things that would otherwise be tedious or repetitive. It’s not that different than using a loop to avoid having to write the same thing over and over again. Avoiding it at all costs is dogmatic and kind of silly.