Hacking in #Rails again, in literally 5 minutes I had both of the following thoughts:
1. "I should use metaprogramming for this", and
2. "Man, it's frustrating that I can't see that this method exists due to metaprogramming"
Hacking in #Rails again, in literally 5 minutes I had both of the following thoughts:
1. "I should use metaprogramming for this", and
2. "Man, it's frustrating that I can't see that this method exists due to metaprogramming"
@CodingItWrong this is me in #elixirlang : I should use a macro!
Relatedly the advice I’ve received and passed along on macros and how frequently to use them: often enough that you really have a deep understanding and appreciation of them, and also never.