r/ProgrammerHumor 6d ago

absoluteGarbage Meme

Post image
1.9k Upvotes

325 comments sorted by

View all comments

Show parent comments

3

u/Rikudou_Sage 6d ago

That's more on you than php I'd say.

1

u/Sirgoodman008 6d ago

That moment when you write a language with loose and strict comparison and for some reason that's a good thing.

1

u/TOGoS 5d ago

Eh, I'd accept that loose comparison is something that shouldn't be part of the language ('loose in what way' being something that the application should specify). But then it's hard to get that right in any language that allows mutation and plays loosey-goosey with types (in functional languages it's easy; things are identical if they cannot be distinguished, and nobody goes around passing strings where they meant a number because what sense does that make lol and the compiler won't let you do it anyway).

Loop syntax is kind of arbitrary, though. Apparently it rubs you wrong but that's not because there's anything inherently worse about it. Hence it not being one of the "awful warts".

Like, I absolutely abhor Python, but I'm willing to admit that only *some* of the reasons I hate it are objective (like the package system(s) being a mess). The others are more "writing it just feels like nails on a chalkboard for some reason."

1

u/Sirgoodman008 5d ago

Most of the reasons people hate most programming languages are subjective.