Hacker News new | ask | show | jobs
by homersapien 4586 days ago
Why should PHP "force" anything? That's one of PHP's strengths: the ability to be everything from a simple dynamic webpage to a full blown app. That's like saying "I wish someone would make a hammer that only strikes nails, because I'm a poor craftsman and keep hitting my thumb."

Love it or hate it, PHP will be around long after elitist devs turn their guns on noSQL and server side JS.

1 comments

I agree. At it's PHP is just a template language. There are many great PHP MVC framworks that have evolved over the years to incorporate many "best practices". The choice should be up to the developer depending on the project.
I'm assuming you meant "At its core, PHP is just a template language." That's a ridiculous, extremely over-generalized assertion.

I don't know of many "template languages" that treat classes as first-class citizens, has an in-depth, thorough unit testing framework, traits, closures, and and and.

I'm sure you get my idea? PHP may have been much simpler at its inception - it is not the same beast now.

ITT: People who haven't used PHP since 4.2 think they know what the language is like and base all their opinions on a language version over 10 years old.

I hate when PHP pops up here on HN, 90% of the people flapping their gabs don't or haven't used PHP for many many years, and when they did it was some Indian's crap code so they spend their time talking shit about a language because they had to fix a bug in Hinderbar's PHP spaghetti from 2003.

If there's one thing I've learned in my years of software development it's that software is the great equaliser.

Everyone is capable of writing crappy spaghetti code.

Yeah, always those damn Indians and their crap code. Every other country's PHP developers write amazingly elegant PHP - it's just those damn Indians.
You didn't really have to add the racism to make that point.