78
submitted 2 years ago by [email protected] to c/[email protected]

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?

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 2 points 2 years ago

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] 16 points 2 years ago

Choosing a language for a project because it's "cool" is so stupid

[-] [email protected] 3 points 2 years ago

Let's try not to insult other people’s preferences.

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

In a way though he's right, picking a language because it is "cool" is the wrong reason to pick a language. You should be looking at other things like performance, scalability, security, functionality and see if those facets align with the requirements for your project.

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

When doing a project where those things matter - sure. But if it’s your hobby protect you can do anything

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

Yeah, that's fair enough, I'll agree to that.

[-] [email protected] 1 points 2 years ago* (last edited 2 years ago)

I think the challenge arises when your hobby project gets funding and thousands of people start using it... But at that point the codebase is likely locked into many previously made decisions. Locked in as in - it would take too much effort to change it.

[-] [email protected] 1 points 2 years ago* (last edited 2 years ago)

No it's not. If I work on something in my free time / voluntarily, I want to have fun. I want to enjoy it. If PHP pisses me off but Rust thrills me, of course I choose Rust. That's the freedom you have if you start a project. That there are more maintainers and even a bunch of contributors underlines that it was the right choice.

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

Fwiw Lemmy is written in Rust

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

Programming

14145 readers
8 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