this post was submitted on 25 Jun 2024
258 points (93.6% liked)
Programmer Humor
19572 readers
1875 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Anything is better than C, right? Even ๐คฎ PHP.
Anti Commercial-AI license
PHP and C are both fine languages, they have their strengths and their weaknesses. They're tools and if you feel the need to shit on them then you clearly need more practice using a diversity of languages.
PHP is probably a fine language, my issue is I suffered dealing with so many shitty applications written in php when I was still coming up through the ranks of IT.
God the number of broken WordPress installs and shitty WordPress plugins.
I understand your pain - the real reason for that is that PHP was the first "hobbyist" programming language so a lot of self trained folks built websites that ended up slowly morphing into successful businesses.
One of the things I'm actually most proud of from the PHP community is that around 5.2 the maintainers looked around and saw sites like Quora and StackOverflow were littered with the worst fucking PHP advice endorsing functions like
mysql_query
and ill-advised features likemagic_quotes
so the community invested a lot of resources in purging answers that preached anti-patterns and replace them with non-terrible answers.I work in PHP and it's perfectly serviceable now, we've got strict typing, namespaces, lambdas, all the nice shit you'd expect in a modern language.
That really helps explain the context for one of my favorite PHP bashes ever.
https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/
It's a great read but it should be noted that the post was written in 2012 and considered under such a context.
Ah yes, the almighty counter "everything is relative". "Malbolge is a fine language with its strengths and weaknesses. It has perfectly valid usecases and can never be shit on, ever."
Anti Commercial-AI license
Jokes on them PHP is itself written in C