You are viewing a single thread.
View all comments View context
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
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
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
4 points

Perl is partially readable, provided that it’s your own code. The one thing perl coders hate the most, is other people’s code.

Source: Am a perl coder

permalink
report
parent
reply
4 points

Perl is definitely a WORN language.

Write Once, Read Never

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
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
5 points
*

Write code

???

Profit!

Accurate PHP mindset on so many levels

permalink
report
parent
reply
5 points

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.

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

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.1K

    Monthly active users

  • 890

    Posts

  • 7.7K

    Comments