this post was submitted on 29 Jan 2025
30 points (84.1% liked)
Programming
17978 readers
426 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 [email protected]
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
Where the heck did that come from? What does any of this have to do with women? Are most Java and PHP developers women?
The argument the author is trying to make is hinged upon this argument that comes out of nowhere. The rest of the article makes some good points but has more of these deviations that just break the flow and make me say "what does that have to do with anything?".
My problem with PHP is the language and the ecosystem. I'm genuinely impressed that people are able to build useful things with it, but the language is, at least to me, far from easy. Starting with
array
not being an array but a hashmap/dictionary, to complete clusterfuck that many projects are in terms of setting up and tooling. Only C and C++ projects can beat that (or so I have experienced). There is just an assumption that whoever's picking up a PHP project knows LAMP and its components, has root access, and won't be using a debugger.The PHP debugger has been one of the most frustrating debuggers I've ever had the displeasure of trying to setup. You have to know how to configure php itself, which extensions to install, how to configure those, and how to setup whatever editor or IDE you have to interact with the debugger. Most PHP projects I'm come across haven't set it up and I can understand why.
Also, to use PHP sensibly, you have to learn about zend or whatever the name of that big framework is. But that can break in the most mysterious ways and for PHP beginners it can be a nightmare to understand what went wrong. Add in that its favorite pattern is dependency injection and the language isn't typed and understanding code is downright awful.
One of my bigger gripes is that many projects do not use containers whatsoever. It's either LAMP on your machine or good luck getting that thing to run. If you're new to PHP, well fuck you, you should've known PHP before trying to contribute to the project - that's what it feels like. There are often C/C++ like guides for setting up. first "sudo apt-get install some stuff here", oh wait, you don't use debian? Fuck off chump.
I have sworn off touching PHP projects ever again. The experience has left me scarred.
Anti Commercial-AI license