6 ms·
I'm not familiar with the PHP ecosystem. Is the author making fun something other than obvious over-engineering? Does he or she feel like that's a problem in th
by nicholaides 14y ago
I'm not familiar with the PHP ecosystem. Is the author making fun something other than obvious over-engineering? Does he or she feel like that's a problem in the PHP ecosystem?
I'm criticizing, because it's funny. I'm just trying to figure out if theres some wisdom being conveyed that I'm missing.
- nikic 14y agoI think he is mocking the general pattern of over-engineering and PHP just happens to be the language he wrote this in. At least PHP is not a language known for massive over-engineering. Usually people associate the exact contrary with PHP. But there is indeed a recent trend towards better object oriented designs in PHP and with it comes also more over-engineered code. But I have yet to see any Java-style absurdity. Maybe we'll still get to that ;)
- jablan 14y agoDon't you think that, when it comes to OOP features, PHP recklessly introduced lots of Javaisms which lose lot of sense when applied to a dynamically typed language? I believe the author had exactly that in mind.
- jonascopenhagen 14y ago> I have yet to see any Java-style absurdity. Then you probably haven't tried Zend Framework ;)
- polychrome 14y agoSo what am I in for with Drupal 8 since the two communities are combining?
- msp 14y agoDrupal 8 will use Symfony2 components, not Zend.
- polychrome 14y agoThanks for correcting me msp. I must have misread that!
- polychrome 14y agoYeah ... Take a look at Drupal 8 and you'll start to see this creeping in. I overheard Dries saying he wants to see Java style comments and wants to be more like Java.
- Noxchi 14y agoNo, you could do this in any OO language. The author is just being silly.
- Mahn 14y ago> Does he or she feel like that's a problem in the PHP ecosystem? Well, I can't talk for the author, but there is some over-egineering going on in the ecosystem, that's undeniable. I think that since the reputation of the language is low, there's this need to make sure the code doesn't look amateur, which ultimately drives overusing classes and OOP design patterns for the sake of using them.