HEY! Is PHP ugly? Yes. Does it use stupid naming conventions? Also yes! But it’s an awesome language when you want to get shit done. There’s no other languages out there where you can just write some code in VIM directly on the server through SSH and immediately see your results without any further setup. No frameworks required, no packages, no imports, no buzzwords and hubub, just pure unadulterated utility.
Incorrect. Perl does the same just as well, and it’s a language that actually makes sense while also being uglier.
In my experience Perl is a write-only language. Coming in behind someone else and fixing or writing their code is often slower than just rewriting it
Nonsense, there are tons of systems like that now. I’ve been playing with Deno & Fresh, it’s great. Trivial to install, a pretty great language, Fresh doesn’t force everything to be client side - you can easily write old school completely server side rendered sites if you want but you get to use TSX which is waaaaay superior to the old text based templating systems we used to use (Handlebars, Jinja, etc.).
It also has built in hot reloading by default so even faster than PHP. Literally hit save and you see the results.
What’s this install nonsense? I just looked up Deno and it’s part of an NPM stack. With PHP you just
-
Open an Apache server
-
Write code
-
???
-
Profit!
I just looked up Deno and it’s part of an NPM stack.
It’s not. It supports NPM modules for backwards compatibility, but the whole point is that it doesn’t inherit the NPM tooling mess. You can go from a new Linux install to a running Fresh project in 3 commands.
PHP is native in Linux then?
How is that different to something like powershell?