Jump to content
MakeWebGames

Why developers hate PHP


Sim

Recommended Posts

On 5/22/2020 at 12:46 AM, Sim said:

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 by Script47
  • Like 3
Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...