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

Programming

13582 readers
1 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) 38 comments
sorted by: hot top controversial new old
[–] IoI_xD@lemmy.blahaj.zone 3 points 2 years ago* (last edited 2 years ago)

In my opinion, only the most elite (in all the wrong ways) people care how you build your app.

PHP has flaws, sure[1]. But unless you are working on the app itself (or again, you are horribly elitist) it does not matter.

What matters is that the app is good. If the app is good, it doesn't matter that its done in PHP, what matters is that it works.

EDIT: I guess it also matters if you're selfhosting the app.

[1] I think PHP is overhated. As a stateless language it lacks a lot of complex features (and thus, admittedly, might be questionable for a project as large and complex as kbin), it has some questionable design decisions, but it's really not as bad as people make it out to be.

[–] Habnab@kbin.social 2 points 2 years ago (1 children)

Modern PHP is supposedly pretty alright but yes I was surprised and a bit disappointed, I would have liked to contribute but I'm not gonna touch PHP in my free time lol.

[–] Bipta@kbin.social 1 points 2 years ago

This is similar to how I feel.

PHP is pain to developers Jerry!

[–] farizer@kbin.social 2 points 2 years ago (10 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....

load more comments (10 replies)
[–] mfz@kbin.social 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.

[–] honeyontoast@kbin.social 1 points 2 years ago

There's a sister project at my work that still uses PHP. It did surprise me, but it's very well written and easy to maintain. I reckon php will be around for a while yet.

load more comments
view more: ‹ prev next ›