this post was submitted on 21 Jan 2024
10 points (91.7% liked)

Hacker News

4123 readers
3 users here now

This community serves to share top posts on Hacker News with the wider fediverse.

Rules0. Keep it legal

  1. Keep it civil and SFW
  2. Keep it safe for members of marginalised groups

founded 1 year ago
MODERATORS
 

There is a discussion on Hacker News, but feel free to comment here as well.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 10 months ago* (last edited 10 months ago) (2 children)

ha this ancient, out of date piece. i guess its good for pointing out most of this nonsense was solved for in the last 12 years

use modern frameworks, practices and versions and php is not a problem

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago)

A lot of it is still true today

use a modern everything, and, ...

Or use a better language

[–] [email protected] 1 points 10 months ago

Exactly.

Also, besides the fact that over this time PHP transformed into a whole different language, most of the concepts the author is dissatisfied with, are just nuances.

There are a few valid points as well.

Overall, if I were to use a scripting language for web development, I would 100% pick PHP, as that's the best suited language for the job. Nowadays, however, I go with Rust because I wanna squeeze out as much performance as I reasonably can.

For single use scripts and smaller tools on my desktop, I used Python in the past, and then I learned Ruby. I'm sticking with Ruby for these use cases.