this post was submitted on 16 Jul 2023
14 points (100.0% liked)

Programming

13384 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
top 3 comments
sorted by: hot top controversial new old
[–] I_am_10_squirrels 3 points 1 year ago

PHP was my main language when I did we development. But that was years ago. I took a break, and when I came back I had to learn about PHP classes.

It was a great language for a self taught person coming from the C family, but there are likely better options now.

[–] kglitch@kglitch.social 3 points 1 year ago

I would again. The mistake was continuing with it for too long.

15 years ago when I got into PHP, Python wasn't as mature as it is now for web development. There was Django but Ruby on Rails was similar and more popular. At the time, PHP had a vibrant open source community and lots of options. It was the right choice for the moment but things have moved on. PHP got stuck trying to make PHP 6 and spun it's wheels while Python went from strength to strength.

The time to bail on PHP was probably around or before 2015. The writing was on the wall by then. But it wasn't until 2019 that I got into Python.

These days all my PHP work is maintenance and migration, all new work is Python-based.

[–] TheCee@programming.dev 2 points 1 year ago

All else being equal I prefer languages with a proper type system from the start instead of type annotations as a band-aid. So, probably not, if I can help it.