Results 1 to 25 of 95
Thread: PHP6 - Direction of PHP
Sep 12, 2006, 09:36 #1
- Join Date
- Apr 2006
- 0 Post(s)
- 0 Thread(s)
PHP6 - Direction of PHP
I've been reading about some of the new features PHp6 may include. Some of them are intriguing.
PHP6 is supposed to have type hinting for return values. They thought about type hinting for properties, but rejected that idea.
Source: Minutes PHP Developers Meeting - 5.8 Type-hinted properties and return values
What are your thoughts on this? I'm somewhat excited about it, because I can see where it could be useful, but I am starting to imagine methods like:
public MyObject function someMethod(MyOtherObject $another_object)
I like the direction that PHP is starting to go. PHP5 is, in my opinion, leagues ahead of where PHP4 was, and I hope PHP6 will make even more improvements, especially if it includes namespace support. That's excellent for the developers who use PHP's more advanced features, but I'm wondering what will happen to PHP's largest? user base, using procedural programming. Is PHP going to promote object-oriented programming (as I think it is beginning to in PHP5), maybe earning more respect from some developers, while alienating the others? Is PHP still going to be the language with the low barier to entry and shallow learning curve as it was in PHP4 and earlier?
I don't mind either way. I'm thrilled to see PHP going in the direction it is. I'm just wondering about the effects of this new direction.Laudetur Iesus Christus!
Christ's Little Flock
Jesus is the Good Shepherd