Earlier quoted context omitted.
Don't be such an apologist for terrible careless programming language design, expecting professional programmers to tolerate IDE's "yelling at them" about unforced language design flaws and loaded footguns, using terribly designed languages that were mindlessly thrown together by anti-intellectual amateurs like Rasmus Lerdorf, a self proclaimed "not a real programmer", who says he doesn't even like programming, who d…
You're probably a joy to work with, huh? You've got be more flexible than this, come on.
PHP Popularity: Is it decreasing and what to do about it?
71–80 of 166 posts
Re: PHP Popularity: Is it decreasing and what to do about it?
#72PHP popularity is decreasing because there are better tools for the same niche today. The same happened for Perl in 00s. The same is happening for every web backend language, as JavaScript is becoming ubique due to it being the de facto and only choice for the web frontend. Maybe PHP can be made better, but it would need some radical changes and then the question is that if it’s worth the effort and maybe to pick up…
Re: PHP Popularity: Is it decreasing and what to do about it?
#73> what to do about it? Celebrate.
Re: PHP Popularity: Is it decreasing and what to do about it?
#74Re: PHP Popularity: Is it decreasing and what to do about it?
#75Earlier quoted context omitted.
No, languages simply matter much less than they once did due to widespread adoption of best practices and good design. The tooling around languages matters much more. C++ isn't still popular because it's the best language. Only real reason I'd always pick PHP over JS is not because I love PHP, but because Laravel is better than any node framework.
While you may pick, most developers do not. You are not the most developers, as you are special and probably much more talented. They pick JS because they know the language best and are more productive in it than in Laravel. There is nothing Laravel can do about it - being best is not going to change the direction, because the limiting factor is the knowledge of programming languages of most of developers.
Re: PHP Popularity: Is it decreasing and what to do about it?
#76Earlier quoted context omitted.
While you may pick, most developers do not. You are not the most developers, as you are special and probably much more talented. They pick JS because they know the language best and are more productive in it than in Laravel. There is nothing Laravel can do about it - being best is not going to change the direction, because the limiting factor is the knowledge of programming languages of most of developers.
With GPT, I don't really find that I am more "productive" in one scripting language or another given that it has the ability to perfectly translate between them on the fly.
If ChatGPT is already perfectly solving all of your programming problems, then you should learn a lot more about programing, design, architecture, and security, so you can take on more challenging projects, and actually design decent APIs and architectures, instead of just paint-by-number monkey coding, and produce better more thoughtful designs and code than an LLM, because your job is already obsolete.
Re: PHP Popularity: Is it decreasing and what to do about it?
#77Earlier quoted context omitted.
What's the JS equivalent of "place an index.php file in a folder to deploy"? What's the JS FOSS equivalent of ProcessWire as a CMF + CMS? What's the JS equivalent to e.g. DreamHost and other drag + drop hosts? (Legitimately curious, and I'm mainly inquiring after equivalents-for...better-thans would definitely be interesting)
People always seem to come up with the argument that you can drop an index.php in a folder and be done with it. Only nobody uses php that way since decades. Modern php code uses Frameworks, Package mangers, opcode caching, and application servers. It’s just that other languages don’t carry all the cruft php has in its heritage…
How do these change the way you can deploy PHP files by simply uploading them?
For frameworks, all you do is run a single command to install.
If you mean JS package managers, that's agnostic to what language you use.
Opcode caching doesn't require anything special from deployment point of view and I don't see a need for app server for PHP.
Re: PHP Popularity: Is it decreasing and what to do about it?
#78Earlier quoted context omitted.
Thanks for the info! > AWS, Azure, Google, CloudFlare, Digital Ocean, etc I'm always curious to know if there are more casual options in this space, for non-earthshaking projects. Maybe more like how DO was at the beginning?
Handful of great new hosts I’ve seen pop up: Render.com, Fly.io, northflank. And I actually like AWS lambdas, so great option for me is SST.dev, which wraps AWS CDK, and provides an actual live development workflow with actual AWS resources.
Re: PHP Popularity: Is it decreasing and what to do about it?
#79Re: PHP Popularity: Is it decreasing and what to do about it?
#80Earlier quoted context omitted.
What's the JS equivalent of "place an index.php file in a folder to deploy"? What's the JS FOSS equivalent of ProcessWire as a CMF + CMS? What's the JS equivalent to e.g. DreamHost and other drag + drop hosts? (Legitimately curious, and I'm mainly inquiring after equivalents-for...better-thans would definitely be interesting)
What is the PHP equivalent of writing your front end and back end in the same language so you can share libraries and data and not have to switch gears between two different languages each time you look up or down the stack? There is a HUGE advantage to using the same language in the browser and on the server, and PHP isn't ever going to displace JavaScript in the browser. So JavaScript it is. That ship sailed a LONG…
I much prefer not having to write JavaScript everywhere, not every problem is a nail and not every solution requires a hammer.