what I hate about PHP
Tiempo de lectura estimada: 1 minutos
Víctor JáquezBecause the clients pressure I've to code in PHP. As you may know, I always have bad feelings about PHP, now that feelings are becoming annoying deceptions.
As far four things:
- Can't use class methods as callbacks, if those methods access the $this variable.
- The try/catch exception handling isn't implemented. It almost imposible to handle gently some errors.
- Can't split a class in several files (is not easy maintain big classes).
- Crash in deep inheritance relations.
Why been so sweet Perl or Python, why people insist in write web-apps in a sucky language...
Yeah, I know, because it's easy to code and easy to get something functional quick.