OOP (classes) are great and what every modern language (which excludes C++) use. C++'s implementation is a piece of crap, especially given the language can be used as mix of procedural and object-oriented. Java and C# require everything to be object-oriented.
PHP's OO model is even worse but I digress. PHP is hardly the best language; the reason most companies use it is by virtue that it is the most commonly available server-side language and possibly the easiest to deploy and maintain. ASP and JSP are less common except for enterprise-level stuff and harder to install and maintain, but scale much better and are dramatically cleaner than ugly PHP.
|