4 ms·
What does PHP mean to you? What are your personal views? From a language perspective it's stable, fast, easy to deploy. Why wouldn't you choose to use it? Fo
by wolco 8y ago
What does PHP mean to you? What are your personal views?
From a language perspective it's stable, fast, easy to deploy. Why wouldn't you choose to use it? For most it's not a difficult language to learn and start using.
- cutler 8y agoHere's why I wouldn't choose it. When I look at a screen of idiomatic, PSRx-compliant PHP code I'm lucky if it contains 10 lines of code. Most of the space is occupied by KR-style space-wating layout plus blank lines between every line of code. Then there are the half-screen doc comments. Ruby, by contrast, is concise and code-focused instead of boilerplate-focused.
- scns 8y agoPHP makes it really easy to write insecure software, because the first googleresult is often outdated and hacked in a short time by automated scripts. The defaults of functions/methods in the standard library are often insecure. if you want to write good PHP i can recommend following resources: https://paragonie.com/software https://paragonie.com/software Would use their stuff if i wrote PHP https://www.phptherightway.com https://www.phptherightway.com https://phpdelusions.net https://phpdelusions.net even though the name sounds abrasive it is a good resource on dbaccess if you want to know specifics. It is from a guy with several SO gold badges.