Benchmarking PHP?s Magic Methods
Larry Garfield has an interesting set of benchmarks covering many of PHP's magic methods. His results correspond pretty well to my own benchmarks in the area. The thing to take away is that its not necessarily the overhead of the magic methods, but...
|The Endpoints of the Scale of Stupidity on Video|
A quote from Cal Henderson (via simonwillison) presents a "Web Application Scale of Stupidity:"
The scale that Cal is talking about is actually better known as modularity:
If you haven't listened to Alan Kay talk about the benefits of many small modules, you should do so now. Alan Kay coined the term Object Oriented. Love OO or hate OO, if you have an opinion on it, you should know what he was thinking. Hint, it wasn't C++.
On the other end of the scale, One Giant Function is generally known as Big ball of Mud(PDF) Here is Brian Foote's presentation on the paper (read the paper first).
Read more at: http://www.procata.com/blog/archives/2007/11/02/the-endpoints-of-the-scale-of-stupidity-on-video/.
|< Prev||Next >|