Why so many programmers say PHP stinks

poster-default

DISCLAIMER: This post may contain “affiliate” links to products and services I recommend. I’ll receive a small commission if you decide to purchase one of these products or services. I only recommend products I genuinely believe will help you in running your freelance business.

I was perusing Quora today and came across this question:

“Why do so many programmers say PHP is a bad language?”

Of course, that ruffled ol’ Johnny’s jimmies, so I clicked to so see some of the answers and this one made me laugh:

“They’re the same people that want to ban bread knives from being sold based on the premise that they’re murder weapons.

“As the saying goes – ‘PHP is so easy to learn that any idiot can use it. Far too many do.’ You can write terrible, horrible code in every programming language out there. In hard to learn higher level languages like C++, your program will crash or simply not work. In PHP, it will mostly work and allow you to hack along until it does.

“Before PHP5 it was definitely a bad language. PHP5 cleaned up most of the really bad stuff. PHP7 fixed some more fundamental issues, and is really honestly a good mature development environment. For legacy B/C reasons a lot of weird shit is still around, like the infamous string type juggling (1+”1e2f” equals 101…), but trying so actually gives notices these days and is on the way to official deprecation.

“If you use a professional, mature and high quality framework like Symfony you’ll be surprised at the elegant, powerful, clean and highly performant code you can write in PHP that will pass every single software engineering quality test you can think of.”

I mean, look.

Do you blame the wrench if a car is built like s!@#?

The hammer, if a house falls apart in a year?

The gun, if a psychopath shoots up– oh wait…

Point is, PHP is a tool… just like any other language. A screwdriver, a hammer a wrench. Which one you use depends on the job. And anyone who thinks PHP is a double-clawed hammer… is the moron, IMO.

Trick is… knowing how to use the tool properly.

(That’s what sh— dammit, there I go again.)

The truth on all this language war stuff…

Is PHP7 officially put this all to bed.

It’s a mature language, at this point.

All the naysayers are just crying at ghosts at this point.

Anyway, if you want go beyond the “script kiddie” stuff and learn how to build mature, professional PHP applications that will allow you to write your own check when it comes to your web development career…

My PHP curriculum on SkillShare can help you get there:

And, you can get access for nothing. Deets at the links above.

If you wanna make PHP your thing, that’s how to do it, IMHO.

Now, it’s just up to you to grind it out.

Later,

John

Leave a Reply on Twitter

Due to excessive spam, I’ve disabled comments on my website. If you have a question or would like to leave a comment, don’t hesitate to contact me on Twitter.

You might also like

Do you want more freelance clients?

I’ll show you what I learned over the last 15 years to grind out (from absolute scratch) a backlog of new clients wanting to hire you. Who your best client prospect are, what services you should be offering them, where to find them and more. Just enter your email address in the box below and let’s get started:

Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn
Share on reddit
Reddit
Share on pinterest
Pinterest
John Morris

JOHN MORRIS

I’m a 15-year veteran of freelance web development. I’ve worked with bestselling authors and average Joe’s next door. These days, I focus on helping other freelancers build their freelance business and their lifestyles.

Do you want more freelance clients?

Enter your email below to get started building your system for consistently bringing in new freelance clients:

WHAT OTHERS ARE SAYING

Daniel Mohlendick

On the Freelancing on Upwork course: “This is by far the best course i have watched on Skillshare!! Thank you so much.”

Bradley Smith

John and I have worked together on numerous projects. John is very quick and efficient and was a pleasure to work with.

Lori Grant

John did an outstanding job on my project. I highly recommend him and look forward to working with him on future projects.

Xan Barksdale

Xan Barksdale

Very professional worker who is extremely knowledgable in WordPress and Wishlist Member. I would definitely hire again.

Bob Patterson

Not only is John a very talented programmer and developer, he is also an excellent communicator. He has a talent for taking complex subjects and communicating them in terms that anyone can understand. This is a rare combination. This ability has enabled me to take my skills and knowledge to the next level. Thank you John for for all that you do.

Ray Edwards

I recommend John every chance I get. If every person I worked with were as committed to excellence, punctuality, value, and unquestionable integrity… the world would be a better place. Highest recommendation.

Thabo Motsoahae

John is one of the best instructors I have come across, I learned a lot from his online tutorials.