Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Aaron McGowan's Blog:
Five things I wish PHP would implement (or had) & would change
Apr 05, 2010 @ 19:50:34

Aaron McGowan has posted his list of five things he wishes PHP could change (or even had) in future versions of the language.

Recently I have been hard at work trying to finish up a few major source packages and one application – but I have recently found myself thinking about how much better and more “grown” up PHP would be if it had a few things that other technologies such as C++ and C# have.

The five things on his list are:

  • Operator Overloading
  • Method and function Overloading
  • Advancement of Namespaces
  • Use of final keyword for class member variables
  • 'Getters' & 'Setters' similar to C#'s for class member variables

Each point comes with a summary and a bit of code to show what he's talking about. He sees these things as major steps in PHP "growing up" and as features that could help it make a translation over from things like .NET simpler.

tagged: opinion wishlist feature implement

Link:


Trending Topics: