4 ms·
Most languages let you cut corners and code in a sloppy way. This is not limited to PHP. I think anyone can show anecdotes to support "coding in [language you
by sbarre 10y ago
Most languages let you cut corners and code in a sloppy way. This is not limited to PHP.
I think anyone can show anecdotes to support "coding in [language you don't like] is bad".
Replace "unsafe" with "non-performant" and go back to early Rails days and you'll have plenty of examples where naive framework implementation led to programmers shooting themselves in the foot with the "easy way" in a different context..
Like I said, all languages and frameworks have their caveats and learning to code properly is the developer's job, and the "right way" or "best way" is often a work in progress that evolves as the community develops best practices..
- jonknee 10y ago> Most languages let you cut corners and code in a sloppy way. This is not limited to PHP. Completely true, but for years PHP made it extraordinarily easy to shoot yourself in the foot right out of the box. register_globals for example... http://php.net/manual/en/security.globals.php http://php.net/manual/en/security.globals.php
- Revisor 10y agoDeprecated 9 years ago.