4 ms·
I hate meta programming. We have composition, why do you need to mess with the nature of things? Maybe you just hate bad metaprogramming? In theory metaprogram
by papaf 8y ago
I hate meta programming. We have composition, why do you need to mess with the nature of things?
Maybe you just hate bad metaprogramming? In theory metaprogramming makes a language more powerful, leads to less boilerplate code, and can deliver big performance improvements.
Scala gives programmers plenty of power which comes with the tradeoffs that there is plenty of opportunity to shoot yourself in the foot or produce unmaintainable code. Scala makes different tradeoffs to Go.
Personally, I think that ignoring metaprogramming means missing out on one of the most powerful techniques available to programmers.
- cbzbc 8y agoMaybe you just hate bad metaprogramming Metaprogramming is hard to get right - often harder than writing good libraries, and the number of programmers who can do it well is correspondingly smaller. So of the metaprogramming that's out there in the wild, a correspondingly greater proportion of it is bad.