this post was submitted on 02 Mar 2024
512 points (94.0% liked)

Programmer Humor

19606 readers
498 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

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] xor@infosec.pub 1 points 8 months ago (2 children)

yeah, i've used it and it's absolutely trash...
but here's an article that sums up my feelings: https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/

[–] dan@upvote.au 5 points 8 months ago (1 children)

That article is over a decade old. A lot of these issues aren't relevant any more or have been fixed. Some weren't even PHP issues, for example mysql_real_escape_string is a MySQL API (https://dev.mysql.com/doc/c-api/8.0/en/mysql-real-escape-string.html).

PHP isn't the best language, but it's not as bad as some people claim it to be, especially if you use a good framework like Laravel.

[–] phoenixz@lemmy.ca 0 points 8 months ago (1 children)

That is literally a decade old article with basically 1 complaint that sometimes functions are strpos() and sometimes str_len(). Anything else it's saying is "I don't even know how to say it". Really now? Any of your complaints have been fixed since about a decade ago, so why don't you give it a try?

[–] xor@infosec.pub 0 points 8 months ago

lol, no...
also this is a joke sub so stop trying to sea lion me about it.
also your "summation" of the article is pretty stupid