News for hackers. Stuff that matters.
Re:Addition of 1 and 1 in PHP by nicholaides on Saturday March 09, 2013 @09:22AM (#5348440)
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.

Re:Addition of 1 and 1 in PHP by nikic on Saturday March 09, 2013 @09:26AM (#5348452)
I 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 ;)

Re:Addition of 1 and 1 in PHP by jonascopenhagen on Saturday March 09, 2013 @10:26AM (#5348600)
> I have yet to see any Java-style absurdity.

Then you probably haven't tried Zend Framework ;)

Re:Addition of 1 and 1 in PHP by polychrome on Saturday March 09, 2013 @11:54AM (#5348876)
So what am I in for with Drupal 8 since the two communities are combining?
Re:Addition of 1 and 1 in PHP by msp on Saturday March 09, 2013 @12:04PM (#5348906)
Drupal 8 will use Symfony2 components, not Zend.
Re:Addition of 1 and 1 in PHP by polychrome on Wednesday March 13, 2013 @05:47PM (#5371347)
Thanks for correcting me msp. I must have misread that!
Re:Addition of 1 and 1 in PHP by jablan on Saturday March 09, 2013 @09:40AM (#5348484)
Don'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.
Re:Addition of 1 and 1 in PHP by johnny22 on Sunday March 10, 2013 @03:13PM (#5353056)
definitely not. can you name one feature that has been added that isn't useful to a dynamically typed language?

The only one i can think of is object type hinting which alone isn't that big of a deal.

Re:Addition of 1 and 1 in PHP by jablan on Friday March 22, 2013 @08:43AM (#5422542)
Umm... Interfaces? Abstract methods and classes? Finals?
Re:Addition of 1 and 1 in PHP by polychrome on Saturday March 09, 2013 @11:53AM (#5348875)
Yeah ... 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.
Re:Addition of 1 and 1 in PHP by Mahn on Saturday March 09, 2013 @09:34AM (#5348468)
> 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.

Re:Addition of 1 and 1 in PHP by Noxchi on Saturday March 09, 2013 @09:26AM (#5348453)
No, you could do this in any OO language. The author is just being silly.