3 ms·
What is "magic,' and how do you measure it so that you can say things like "1/5?"
by a3n 9y ago
What is "magic,' and how do you measure it so that you can say things like "1/5?"
- coldtea 9y agoEver seen Penn and Teller? Joking aside, generally we call "magic" uses of reflection, monkey-patching, auto-magically configured parts, parts of a framework that do way more than what we explicitly tell them, etc. "1/5 less magic" is what we call in casual conversation "making a point" and not an actual measurement. It is however more than 85% factually correct. The Django project leaders have stated that one of their goals was to not have "magic" in the framework, and in fact, one of the early (~ Django 1.2 or so) refactoring efforts was about removing "magic" too-clever parts for more explicitness.