this post was submitted on 05 Apr 2024
519 points (94.4% liked)

Programmer Humor

19589 readers
771 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
[โ€“] [email protected] 20 points 7 months ago (18 children)

I'm failing to see the problem. As long as one of the languages isn't PHP they're still probably better off ๐Ÿคท

[โ€“] [email protected] 13 points 7 months ago (6 children)
[โ€“] [email protected] 19 points 7 months ago (3 children)

PHP5 was basically the Adolf Hitler of programming languages

You know how something can be so terrible it ruins something forever? Like the hitler stache

[โ€“] [email protected] 11 points 7 months ago (1 children)

5.3 was a big leap for PHP. It became actually very good at that point.

I learned it when it was on 4 and boy oh boy was that something.

But nowadays, with 8, it works great, tooling is fantastic. I just kinda wish the documentation, which is absolutely top notch for 90% of the language, was this good for the rest 10%.

I want to play around with Fibers, but I just don't get the info I want to.

pthreads were so out of date in docs it was shameful.

But the language is good, typing is coming along nicely, and basically the only thing I want PHP to do is to call Postgres and encode the output to json. Works like a charm.

[โ€“] [email protected] 4 points 7 months ago* (last edited 7 months ago)

Yeah i've heard good things about it recently. I've always liked how easy curl can be in php.

Adding typing seems like it would fix most of the problems i did run into but

Has PHP raised its standards on function naming? Or do you still have batshit situations like realEscapeString2() because the first 30 other functions for escaping strings are deprecated?

[โ€“] [email protected] 6 points 7 months ago

Lol okay maybe that's true :) but PHP is great nowadays and with frameworks like Symfony and Larvel it's easier than ever to build applications

[โ€“] [email protected] 2 points 7 months ago

I'm actually sad about the Hitler stache, it was also the Chaplin stache.

load more comments (2 replies)
load more comments (13 replies)