Re:Customizing class creation in Python
by paulddraper on Thursday March 30, 2017 @04:09PM
(#13998489)
That's okay as long as the magic holds. If it starts to fail, you have to peek behind the curtain, and you lose yourself among the meta.
[ Parent
| on HN ]
Django famously had a "magic removal" refactor before 1.0 as they collectively decided they had gone too far. They've since plotted a more conservative path but the ORM and similar magic was deemed reasonable.
I've found Django's metaclass usage pretty robust over the years. The curtain mostly remains unpeeked behind.