You are viewing a single thread.
View all comments
67 points

“Gods, that’s stupid. Why is it being done this way? Have they never heard of naming conventions? Is the language really that awfully designed?”

Learns PHP to find out more.

“Yup…”

permalink
report
reply
8 points

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.

permalink
report
parent
reply
7 points

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.

permalink
report
parent
reply
3 points

What’s this install nonsense? I just looked up Deno and it’s part of an NPM stack. With PHP you just

  1. Open an Apache server

  2. Write code

  3. ???

  4. Profit!

permalink
report
parent
reply
20 points

Incorrect. Perl does the same just as well, and it’s a language that actually makes sense while also being uglier.

permalink
report
parent
reply
2 points

I’ll admit, I have zero experience with Pearl. I do like the uglier point you made though. 50+ DKP

permalink
report
parent
reply
8 points

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

permalink
report
parent
reply
1 point

PHP is native in Linux then?

How is that different to something like powershell?

permalink
report
parent
reply
2 points

You can’t run a website off powershell. PHP can render HTML to the browser, so it’s perfect for website development. 99% of the web was PHP back in the wild West days.

permalink
report
parent
reply
1 point

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

laughs in coldfusion

permalink
report
parent
reply
2 points

PHP is a scourge. I wish less server software were written in it. You’ll stumble upon some opensource project with a cool UI, run into a problem and find out the docker container has apache, postgres, and PHP in it. Debugging PHP is such a pain and setting up a developer environment is such a hassle because they haven’t discovered docker for dev envs yet.

Terrible experience all around.

Anti Commercial-AI license

permalink
report
parent
reply

Programming

!programming@programming.dev

Create post

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Community stats

  • 3.4K

    Monthly active users

  • 753

    Posts

  • 5.8K

    Comments