4 ms·
The one thing that really bothers me about these "PHP sucks" articles is that the author implies that it's inevitable that anything written in PHP will be compl
by tmh88j 15y ago
The one thing that really bothers me about these "PHP sucks" articles is that the author implies that it's inevitable that anything written in PHP will be complete junk. Yes, it has flaws, but PHP is associated with spaghetti code 100% of the time regardless of who's writing the code. I've seen some very well structured PHP; Yes, it does exist.
I'll admit that I am new to web app development and learned how to program(web apps) with PHP. The simplicity and forgiving environment is what made it so alluring. Sure my first bits of code may have been sloppy, but that sense of false confidence pushed me to learn more and improve my understanding. I gained experience and "real" confidence quickly. After seeing how easy it was to make simple apps with authentication features and whatnot, I moved onto Python. PHP quickly taught me the basics which then allowed me to jump into more advanced features and other languages, and that is why I appreciate it.
Before anyone uses my words against me where I mentioned a sense of false confidence, I think that's actually a positive thing. It pushes the user to learn more, or at least it did for me. Do you really think anyone with a complete lack of understanding of OOP, frameworks, or programming in general will be able to hack together a Facebook, ebay or Paypal?
- wvenable 15y agoMost PHP frameworks are very well written -- their code is out there, on github, for all to see. There is a lot of well written PHP code. But there is also a lot more PHP code written, in general, than other languages especially by non-programmers.