The meaning of `this`

https://lemmy.world/post/31027668

Partially unrelated to the meme, but I find it almost malicious how some python keywords are named differently from the nearly universal counterpart of other languagues.

This/self, continue/pass, except/catch and they couldn’t find a different word for switch so they just didn’t implement it.

It’s as if the original designers purposefully wanted to be different for the sake of it.

PHP naming “::” a Paamayim Nekudotayim is also pretty infamous.

When I’m designing shit, I’m pretty zealous about borrowing terminology from anything even vaguely related to avoid this.

PHP weirdness and inconsintencies never fail to amaze me.

On the bright side, I found my first StackOverflow answer that would fit exactly the same on Linguistic Stack Exchange.

stackoverflow.com/a/59259755

PHP expects T_PAAMAYIM_NEKUDOTAYIM?

Does anyone have a T_PAAMAYIM_NEKUDOTAYIM?

Stack Overflow

Absolutely cursed, lol.

So not only did they decide to randomly include Hebrew in their language, because I guess they were feeling kabbalistic, but they got the Hebrew wrong. In what way does any of that increase usability or even make them look competent?

It reminds me of the INTERCAL manual, which was a joke:

This precedence (or lack thereof) may be overruled by grouping expressions between pairs of sparks (’) or rabbit-ears (").

include Hebrew in their language, because I guess they were feeling kabbalistic

... or because the developers were Israeli: https://en.wikipedia.org/wiki/Zend_(company)#History

Zend (company) - Wikipedia

Yeah, that’s not actually a good reason though, unless you’re developing a Hebrew programming language for Hebrew speakers. I made a bit of a joke about it, yes.