3 ms·
I've written a few code spikes using metaclasses and to be honest, it never worked out well for me. I always found a simpler, clearer way of achieving the same
by crdoconnor 11y ago
I've written a few code spikes using metaclasses and to be honest, it never worked out well for me. I always found a simpler, clearer way of achieving the same outcome without them and the code that I did write felt dirty.
It's a very powerful language feature. Also very dangerous. It's a magnet for technical debt and obscure bugs.