this post was submitted on 14 Jul 2023
338 points (91.0% liked)

Programmer Humor

33267 readers
1240 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 2 years ago (2 children)
[–] [email protected] 24 points 2 years ago (1 children)

To quote the guy who invented PHP:

"I don't know how to stop it, there was never any intent to write a programming language [...] I have absolutely no idea how to write a programming language, I just kept adding the next logical step on the way."

[–] [email protected] 3 points 2 years ago

Yes, PHP was originally meant to be a template language, like handlebars or thymeleaf, but kept on accumulating features along the way...

[–] [email protected] 1 points 2 years ago

They didn't think about which order ternaries should compute in when they coded the php interpreter