Sim Posted May 21, 2020 Posted May 21, 2020 LoL https://www.jesuisundev.com/en/why-developers-hate-php/ Quote
Script47 Posted May 23, 2020 Posted May 23, 2020 (edited) On 5/22/2020 at 12:46 AM, Sim said: LoL https://www.jesuisundev.com/en/why-developers-hate-php/ Do you mean "LoL" as in he's wrong? Because I agree with that article, wholeheartedly. As powerful as PHP is and as clean as it can be - especially with a solid framework like Laravel or Symfony - you'll still have folks churning out bad code which some poor soul will have to maintain because management doesn't see any immediate financial incentives in taking some time out to redo it hence the bad taste that is left in the mouth of the maintainer. Ultimately, the OP of the article hit the nail on the head with the statement: "Using PHP it’s very easy to produce bad code. Other languages have many more restrictions." But, the future is looking promising and TBF, with the advent of PHP 7, you should be able to write clean, robust, and maintainable code, now. Unfortunately, PHP 7.1 is now in EoL, yet, I've seen firsthand companies still using 5.4 and 5.6. The worst part is that they see no issue with that. And, with PHP 8, things are looking even more promising. I'd say PHP isn't going anywhere anytime soon. Edited May 23, 2020 by Script47 3 Quote
Sim Posted May 23, 2020 Author Posted May 23, 2020 Company's are still using COBOL and see no problem using that 🙂 1 Quote
sniko Posted May 23, 2020 Posted May 23, 2020 8 hours ago, Sim said: Company's are still using COBOL and see no problem using that 🙂 Perhaps you haven't maintained a large enough codebase that is critical to business infrastructure, especially one that is financial related and data accuracy is pivotal. A lot of projects with PHP architecture is spaghetti code where types are not enforced - it makes it very hard to test and maintain. 1 Quote
Magictallguy Posted May 23, 2020 Posted May 23, 2020 4 hours ago, sniko said: Perhaps you haven't maintained a large enough codebase that is critical to business infrastructure, especially one that is financial related and data accuracy is pivotal. A lot of projects with PHP architecture is spaghetti code where types are not enforced - it makes it very hard to test and maintain. Unless you're on PHP 7.4 and typesetting is standard Quote
sniko Posted May 23, 2020 Posted May 23, 2020 6 hours ago, Magictallguy said: Unless you're on PHP 7.4 and typesetting is standard I mean damn, have you tried getting a MSB to upgrade from php5.6, not to mention large corporations running on legacy shit 😅 Quote
Sim Posted May 24, 2020 Author Posted May 24, 2020 28 minutes ago, sniko said: I mean damn, have you tried getting a MSB to upgrade from php5.6, not to mention large corporations running on legacy shit 😅 That's what I just said about COBOL. And you said Perhaps you haven't maintained a large enough codebase that is critical to business infrastructure, especially one that is financial related and data accuracy is pivotal. Which side are yo on? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.