this post was submitted on 26 Jan 2024
87 points (92.2% liked)
Programming
17553 readers
329 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
PHP is a really fun language syntactically and has a surprisingly good built-in library.
As a PHP Dev: Please avoid PHP unless you have to use it.
What would you recommend learning instead?
My team is currently exploring rust as an alternative because we have to do a lot of api calls and data crunching real fast. So rust?
As a php dev who actually writes clean code and doesn't blame people writing shitty code on a language: don't listen to this fella.
As a php dev who actually writes clean code while cleaning up after other people because
Getting things done is more important
: Don't give people the tools to write shitty code.I know it's fashionable to shit on PHP but it's significantly better than it once was... it's honestly like a cleaner python that lets you use brackets.
Sure, could be/was a lot worse than today. Still, PHP gives one way too much rope to hang themselves with.
Hey, I grew up on C++... you'd be amazed how comparatively safe PHP is by comparison. I don't disagree though, but I do appreciate having features like var-vars around for when I need them.
Cleaner python? Hahaha that's hilarious
PHP was my favorite language like 20 years ago but I don't think I ever want to touch it again xP
Absolutely different language nowadays, really worth a try!
If it was your favorite language twenty years ago then you'll hate it now - it supports functional programming and cleaned up (nearly) all the awful cruft.