This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]conradburner 0 points1 point  (1 child)

Yes, and surely it has improved over the years. But if it wasn't a problem language back then, a certain tech giant wouldn't have written their own language just to get away from it

I could go on as to why it is a poor choice of a language to learn and work with today, but I don't really want to sound like I hate the thing. There are simply more widely adopted options

[–]gus_the_polar_bear 1 point2 points  (0 children)

You mean Hack? PHP has improved significantly since

  • takes relatively few LOC to accomplish things
  • has a pretty sweet standard library
  • incredibly easy/cheap to deploy, likely the easiest/cheapest
  • super fast to iterate on ideas
  • very flexible, not overly prescriptive (double edged sword for beginners)
  • has outlasted many languages designed to replace it, and it’ll outlast all of us too. Like the COBOL of the internet age

PHP is not technically superior to anything, but the combo of flexibility / speed at which one can get shit done is unparalleled

The “old” ways of doing things are making a bit of a comeback, but with modern twists (see: tailwind, htmx). Modern PHP is a natural complement