1005
PHP is dead? (telegra.ph)
submitted 8 months ago by sag@lemm.ee to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] mrbubblesort@kbin.social 113 points 8 months ago

People who say PHP is shit haven't really used it and are just repeating the memes. It's a perfectly fine language and there are a number of excellent tools and frameworks for it. It's reputation is a result of it's easy entry and widespread use. A whole lot of people who knew just enough to be dangerous made a whole lot of stuff, and it ended up causing a whole lot of problems. But for some reason devs shit on the language instead of shitting on the devs who put them in a mess.

[-] ahto@feddit.de 13 points 8 months ago

It has also improved a lot in the last years. PHP5 and especially versions older than that weren't very good and deserved a lot of the criticism. PHP7 and onward are much better languages and don't deserve the hate.

[-] BeigeAgenda@lemmy.ca 5 points 8 months ago

I worked a lot with PHP3 and 4, they work by the "Here is a flat C style API and here's all the functions to use." principle, and a lot of the work was finding the needed function, and how to use it.

I know PHP5 did a lot of redesign especially with classes, but have never used it, hope PHP5+ feels more like Pythons toolbox.

If I should write a web application today, I would start looking at Python based frameworks: Django (I have used it before)/Flask/Etc. as I am not sure I would like to work with JavaScript, or have to re-learn PHP.

[-] pingveno@kbin.social 3 points 8 months ago

A fun story about the origin of some of PHP's first function names. The hash function in the table for function names in the interpreter was strlen(), so names were chosen to have a wide distribution of lengths.

(source)

[-] pingveno@kbin.social 1 points 8 months ago

A fun story about the origin of some of PHP's first function names. The hash function in the table for function names in the interpreter was strlen(), so names were chosen to have a wide distribution of lengths.

(source)

load more comments (44 replies)
this post was submitted on 30 Oct 2023
1005 points (96.1% liked)

Programmer Humor

31228 readers
49 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS