Remix.run Logo
phendrenad2 2 hours ago

In my professional career I've used Python, Ruby, TypeScript, Groovy, but in personal projects I always go with PHP. I'm just more productive with it. And I don't use all of the modern niceties of PHP, I use it exactly like it's still 2010. In my opinion, the dislike towards PHP stems from the same love for complexity that gave us all of the FP-obsession from roughly 2010-2020 (Scala, Clojure, F#, etc.)

ChrisMarshallNY 2 hours ago | parent | next [-]

I use it for my backend stuff. Robust, fast, safe, well-supported. Has all the right bells and whistles.

I never liked the language, but it does what it says on the tin.

I have found, in the project currently under development, that LLMs give very good PHP code. Better than mine, and I’ve been using it for 25 years. I don’t mind admitting that. PHP isn’t my main language (Swift is, and I’m still better than the LLM, for that).

al_borland 2 hours ago | parent | prev [-]

I’m the same way, even for little side projects at work. Basic old-school PHP is effortless to setup and maintain on a server. It just works. This means my little side project can remain a little side project, instead of become a burden with a bunch of unnecessary complexity that modern frameworks introduce.

Anytime a hello-work tutorial starts with running a command that generates 50 boilerplate folders/files, I die a little inside.

trumpdong 2 hours ago | parent [-]

What's your web server? To connect PHP with nginx you need a bunch of arcane configuration.

thenthenthen an hour ago | parent [-]

I loved php came bundled with OSX, you just run php -s portnumber (iirc) as and you have a php enabled webserver running locally, so fun for experiments and super convenient especially compared to nowadays… i would prolly use Python, so make venv, activate, etc etc.