|
|
|
|
|
by Fire-Dragon-DoL
1751 days ago
|
|
As you can see from below, it's cultural.
It's also the reason why every Rails codebase turns really bad as it grows: metaprogramming keeps being used extensively instead of being limited. Modules abused, stuff monkey patched, methods creating other methods continuously. The consequences are always: code unmaintainable over the long term. Unfortunately to reach this disillusioned state you need to hit some really hard walls, which doesn't happen to all ruby devs. |
|
So in doubt no metaprogramming. Example: I never wrote a macro in a real world Elixir project.