3 ms·
PHP will never fully be utilized as an OO language because it's a stupid idea to write web pages with an OO language. Web pages are just not suited to OO. Enca
by ars 17y ago
PHP will never fully be utilized as an OO language because it's a stupid idea to write web pages with an OO language.
Web pages are just not suited to OO. Encapsulation can be done via functions - adding OO to it gets you nothing except longer code.
Making things more complicated does not make them better.
- randallsquared 17y agoI almost agree with this. I'm experimenting with Kohana for my latest code, and even though this is supposed to be the lean, fast OO framework, there's a LOT of boilerplate associated. Less than a third of my code is actually get-things-done code, as opposed to more than two thirds last time I was using a home-grown, not-especially-OO framework. Maybe some other framework does this better, though.