3 ms·
Don't know why you felt it was necessary to take a dig at PHP, as if PHP is the cause of all bad web programming practices. Nowadays, PHP is very much evolved,
by asnyder 14y ago
Don't know why you felt it was necessary to take a dig at PHP, as if PHP is the cause of all bad web programming practices. Nowadays, PHP is very much evolved, and the abundance of mature frameworks have completely removed the most of the inconsistency issues.There are in fact variable declarations and types in PHP, there's even type-hinting to enforce types.
The fact of the matter is that many web developers fall into bad practices via laziness, copy & paste syndrome, regardless of whether the language they're using has strict types or not.
- laumars 14y agoWhile I agree that a bad programmer will write bad code in any language -and visa versa- my point was that PHP doesn't enforce good practices thus allowing many less experienced developers to accidentally fall into easily avoided pitfalls (lets be honest, having to === to force type matching is just plain dumb). So by the time you've properly hardened your code, it's anything but pseudo-English - which was my point (ie programming languages are not similar to human languages).