this post was submitted on 16 Jun 2023
77 points (100.0% liked)

Programming

14184 readers
14 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

I don't know if it's due to over-exposure to programming memes but I certainly believed that no one was starting new PHP projects in 2023 (or 2020, or 2018, or 2012...). I was under the impression we only still discussed it at all because WordPress is still around.

Would a PHP evangelist like to disabuse me of my notions and make an argument for using PHP for projects such as Kbin in this day and age?

(page 2) 33 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 2 years ago (9 children)

I know it sounds childish but PHP is lame as hell same as java. Rust or go would have definitely been a cooler choice. I mean PHP gets the job done, but still....

[–] [email protected] 2 points 2 years ago

Fwiw Lemmy is written in Rust

load more comments (8 replies)
[–] [email protected] 2 points 2 years ago (1 children)

Modern PHP is quite performant and nice to work with and it's still improving! Also frameworks like Laravel is very established.

When comparing the time when I use PHP and JavaScript, I love the simplicity and versatility of JavaScript but PHP's strongly typed (with runtime support) and object oriented language often make more sense imo.

I think the strong benefit of using JavaScript for backend comes down to being able to have unified full-stack codebases, one language fits all kind of thing.

[–] [email protected] 2 points 2 years ago

"PHP's strongly typed and object oriented language" - man, PHP has come a long way!

[–] [email protected] 1 points 2 years ago

As a single developer taking on a passion project you go with what you know.

Also it must have been near impossible to have foreseen the insane explosion of popularity that has happened here the last few days.

Even then if you build something for passion you choose something that make you happy to use, however esoteric or impractical that may be to others, or how it would be perceived. Most probably it was never thought to be exposed in such a massive way, and certainly not as soon after the project was started (we're talking month(s) here).

Anyhow, for this project from the looks of it it is working fantastic.

Personally I've not used PHP for years but now I'm actually intrigued to take a new look at it.

load more comments
view more: ‹ prev next ›