Is PHP still a relevant language in today’s day and age? I know a LOT of languages and it just never occurred to me to learn this one, because anyone I’ve ever been aware of writing a backend these days would either choose Node or one of several compiled languages. Lemmy uses Rust for it’s backend which is highly desireable, many people would have used Golang in the backend world if they desired performance and compilation, otherwise I don’t know why you wouldn’t just use Typescript. Makes it hard to contribute to IMO.
Idk anything about it but from reading some of the code it looks like Java but with weird syntax. Not a big OOP fan.
No, OOP is optional in PHP.
Good to know, maybe I’ll pick up a book. I try to learn a new language every year.
When I say “optional”, I mean you can just create a filename.php and start putting lines of code into it, and it’ll work fine. But, these days OOP is favored by most and pretty much everyone is using it. So if you are working on code that other people have written, classes are everywhere.
A lot of Wordpress code is non-OOP, though.