How is PHP doing these days? It used to be hugely popular, but seems to have fallen into disregard in a lot of circles. I wonder if PHP being seen as a "easier" language than rust will attract more kbin developers?
Programming
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.
I'd rather work in rust, personally. I've heard newer PHP has a lot of things that are better than previously, but I've not worked with it personally.
But on the other hand, Rust is a highly desirably language whereas PHP has a historically bad rap. I don't think devs necessarily want easiest. They want whatever is most enjoyable to use. Tooling support also matters. Stuff like static typing, for example, makes unfamiliar code way easier to understand. I've contributed to a lot of unfamiliar servers and I've noticed that ones in languages like Go are a lot easier because the static typing means it's easier to read the code. In particular, I found servers written in Python hard to work with, and it's not for lack of experience with the language (I've been using Python for longer than Go).
How easy it is to run the code also matters. Has anyone tried that with Lemmy? I was gonna run a dev kbin instance to try and make some changes, but the amount of work it seemed to require just to run the server was more than I wanted to do at the time (I really just want as close as possible to a single command way to run the server locally to test my changes so I can verify they work). Ease of contributing is very important for me to actually bother to contribute.
Lemmy has Ansible deploy scripts, and everything is dockerized. It's as easy as spinning up a machine, setting some config values, and running a playbook.
I still use PHP extensively for a lot of my projects at work. It’s my favorite language.
I’ve been experimenting with rewriting one of my UI based reporting tools with Laravel (moving from slim/twig).
The fact kbin uses PHP piqued my interest there but I went with lemmy for my standalone instance anyway because I’d like to get familiar with Rust.
PHP used to be my main language. When they started adding more advanced type features it interested me. Then I got bitten by the strong typing bug and started teaching myself Haskell. I didn't end up getting very far, but now I strongly prefer strong and static typing.
I don't dislike PHP, even now. If I wanted to use an interpreted language for a web project, I'd probably pick PHP. I sure like it better than Python, Ruby, and JS. I just don't find myself wanting that kind of language anymore though.
Thank you for this. Finally a good reason to learn more rust 👍
Too bad it's on a Microsoft service. It would be a nice project to try and find little things to work on otherwise.
You're going to have a tough time finding projects to contribute too. A mind-boggling number of projects are hosted on GitHub. Probably a majority of all open-source code in existence.