3 ms·
A better analogy to magic methods would be dynamite. There are a few situations where you should use it, but not many, and generally it's when there's no other
by bluesnowmonkey 16y ago
A better analogy to magic methods would be dynamite. There are a few situations where you should use it, but not many, and generally it's when there's no other option.
His example violates the principle that objects should represent things. (What is a DoNotDisturb?) Back to OOP school, metaprogrammer!
- nusco 16y agoFrom the OP: I considered changing the names because I had the same concern, but in the end I figured that the current name was good enough for a toy example. In hindsight, you're probably right I should have used other names (although your sneering tone is not really necessary).