# rename T_PAAMAYIM_NEKUDOTAYIM to T_DOUBLE_COLON

- Thread: https://externals.io/message/49986
- Original archive: https://news-web.php.net/php.internals/49986
- Started by james.butler@edigitalresearch.com on 2010-10-30T02:29:33+00:00
- Messages: 30
- Page 1 of 2: messages 1 to 25 (25 per page, add `?page=N` to the URL)
- Next page: https://externals.io/message/49986.md?page=2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #49986 — james.butler@edigitalresearch.com — 2010-10-30T02:29:33+00:00

URL: https://externals.io/message/49986#49986

I'll bite.

Why should this be changed? Is it broken? Is it something that 1 second on google can't answer? 
If somebody is advanced enough to be using classes (I think about the only time you would use a double colon) then they should know what it means.

--
James Butler
Sent from my iPhone



> 
> > […]
> Oops, sorry didn't even notice it was there, I don't send mail from this 
> account much.
> 
> Should be fixed.  Though I don't care what my name has to do with reception.
> 
> What is in a name anyway?

---

## #49988 — Chad Emrys — 2010-10-30T06:17:35+00:00

URL: https://externals.io/message/49986#49988 · In reply to: #49986

> I'll bite.
>
> Why should this be changed? Is it broken? Is it something that 1 second on google can't answer?
> If somebody is advanced enough to be using classes (I think about the only time you would use a double colon) then they should know what it means.
>
> --
> James Butler
> Sent from my iPhone
>
> 
>
>    
>
The fact they have to google to figure out what it means, the error 
message fails at it's purpose. (Realistically it'll take longer than a 
second unless you got google hot keyed to your log reader).  I Liked 
Stefan's idea in the previous thread to not put token names in the error 
messages anymore and replace them with something more meaningful for the 
user.  However, since that never happened, this is a better/easier 
alternative for now.  How many total hours of googling will we save 
developers for a 10 sec grep and replace? (not sure if it's that easy, 
but for the sake of the argument).

I can see only positives by switching it out.  can someone give me a 
light on how much it would actually cost to do that? Some negatives?  I 
don't see the argument given to be entirely helpful because it's exactly 
what I am trying to point out as a problem, and the reason why we should 
change it.

---

## #49990 — Pierre Jaury — 2010-10-30T06:28:06+00:00

URL: https://externals.io/message/49986#49990 · In reply to: #49988

As you mention, PHP errors are token names. Users have to read the
manual to understand them at first sight. Then, what's the matter in
having a bit of fun and nostalgia naming the tokens ?

Switching to meanful error messages would make your point though.

Pierre.

Le samedi 30 octobre 2010 à 01:17 -0500, Chad Emrys a écrit :
> 
> > […]
> The fact they have to google to figure out what it means, the error 
> message fails at it's purpose. (Realistically it'll take longer than a 
> second unless you got google hot keyed to your log reader).  I Liked 
> Stefan's idea in the previous thread to not put token names in the error 
> messages anymore and replace them with something more meaningful for the 
> user.  However, since that never happened, this is a better/easier 
> alternative for now.  How many total hours of googling will we save 
> developers for a 10 sec grep and replace? (not sure if it's that easy, 
> but for the sake of the argument).
> 
> I can see only positives by switching it out.  can someone give me a 
> light on how much it would actually cost to do that? Some negatives?  I 
> don't see the argument given to be entirely helpful because it's exactly 
> what I am trying to point out as a problem, and the reason why we should 
> change it.

---

## #49992 — Rasmus Lerdorf — 2010-10-30T06:30:04+00:00

URL: https://externals.io/message/49986#49992 · In reply to: #49988

> The fact they have to google to figure out what it means, the error
> message fails at it's purpose. (Realistically it'll take longer than a
> second unless you got google hot keyed to your log reader).  I Liked
> Stefan's idea in the previous thread to not put token names in the error
> messages anymore and replace them with something more meaningful for the
> user.  However, since that never happened, this is a better/easier
> alternative for now.  How many total hours of googling will we save
> developers for a 10 sec grep and replace? (not sure if it's that easy,
> but for the sake of the argument).
> 
> I can see only positives by switching it out.  can someone give me a
> light on how much it would actually cost to do that? Some negatives?  I
> don't see the argument given to be entirely helpful because it's exactly
> what I am trying to point out as a problem, and the reason why we should
> change it.

There are two reasons this term will stay.  It is a tip of the hat to
the amount of PHP work that came out of Israel, and it is a good
reminder that there are a lot of other languages in the world.  People
whose first language is not English, myself included, are forced to work
with unfamiliar terms every day.  I wouldn't mind having a few more
non-English identifiers in PHP actually.

Well, and a third reason, I like it.

-Rasmus

---

## #49993 — Chad Emrys — 2010-10-30T06:34:46+00:00

URL: https://externals.io/message/49986#49993 · In reply to: #49992

> 
>    
> > […]
> There are two reasons this term will stay.  It is a tip of the hat to
> the amount of PHP work that came out of Israel, and it is a good
> reminder that there are a lot of other languages in the world.  People
> whose first language is not English, myself included, are forced to work
> with unfamiliar terms every day.  I wouldn't mind having a few more
> non-English identifiers in PHP actually.
>
> Well, and a third reason, I like it.
>
> -Rasmus
>    
Well Rasmus, I wish you would hang out more in ##php on freenode.  (I 
see you there every so often) But we do get that question about that 
thing a lot.  And even some rage, and I have to cool them off with all 
the reasons you and Andi are giving me right now.  But I am not 
convinced nostalgia or "teaching the English speakers a lesson" is a 
good reason to keep around a confusing error message.

---

## #49995 — Stas Malyshev — 2010-10-30T06:36:58+00:00

URL: https://externals.io/message/49986#49995 · In reply to: #49988

Hi!

> I can see only positives by switching it out.  can someone give me a
> light on how much it would actually cost to do that? Some negatives?  I

It would probably require bribing all the opponents, so the cost would 
be in high six digits (in $US) I guess.

> what I am trying to point out as a problem, and the reason why we should

It's not a problem. A very mild irritation at best.
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

---

## #49996 — Chad Emrys — 2010-10-30T06:40:26+00:00

URL: https://externals.io/message/49986#49996 · In reply to: #49995

> Hi!
>
> > […]
>
> It would probably require bribing all the opponents, so the cost would 
> be in high six digits (in $US) I guess.
Good thing this is FOSS! I only have to bribe who ever is approving 
patches/commits these days.
>
> > […]
>
> It's not a problem. A very mild irritation at best.
See my original message, you don't do enough support. :p

---

## #50007 — jaenecke@gmx.li — 2010-10-30T10:50:03+00:00

URL: https://externals.io/message/49986#50007 · In reply to: #49993

> Well Rasmus, I wish you would hang out more in ##php on freenode.  (I
> see you there every so often) But we do get that question about that
> thing a lot.  And even some rage, and I have to cool them off with all
> the reasons you and Andi are giving me right now.  But I am not
> convinced nostalgia or "teaching the English speakers a lesson" is a
> good reason to keep around a confusing error message.

Well, isn't the problem here more people asking on IRC rather than using
a search engine before? Renaming will not solve that.

~danielj

---

## #50010 — Daniel Brown — 2010-10-30T14:55:24+00:00

URL: https://externals.io/message/49986#50010 · In reply to: #50007

>
> Well, isn't the problem here more people asking on IRC rather than using
> a search engine before? Renaming will not solve that.

    In this case, one might argue that it would.  Instead of "what's a
T_PAAMAYIM_NEKUDOTAYIM?" you would have, "WTF IS A `T_DOUBLE_COLON` 
ERROR N Y R PHP DOODZ SO F'D UP ARGH LOLZ!!1!"

-- 
</Daniel P. Brown>
Network Infrastructure Manager
Documentation, Webmaster Teams
http://www.php.net/

---

## #50012 — Alexander Schrijver — 2010-10-30T15:42:46+00:00

URL: https://externals.io/message/49986#50012 · In reply to: #49992

> with unfamiliar terms every day.  I wouldn't mind having a few more
> non-English identifiers in PHP actually.

I don't know if i can make suggestions as an outsider. However, i really like
the dutch language and it would be really cool if `T_WHILE` would be replaced
with T_TERWIJL.

---

## #50019 — Daniel P. Brown — 2010-10-30T16:41:02+00:00

URL: https://externals.io/message/49986#50019

>
> Most likely not, we don't get tons of questions about other parser errors,
> unless the person refuses to read the error message to begin with (Those
> can't be fixed, true.  But this for those people that DO read the messages,
> which is greater number than what you guys lead on)

    I have to say, you certainly are sure of yourself when it comes to
describing our opinions and actions, yet - aside from argue a point
that has little chance of succeeding here, as you can tell - you've
done nothing to give your point validity outside of your own
experience and interpretations.

    You mentioned how great it was that PHP is FOSS, and that you'd
only have to bribe whomever is handling patch reviews and submissions.
 Another great thing about FOSS: your right to fork.

-- 
</Daniel P. Brown>
Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting
(866-) 725-4321
http://www.parasane.net/

---

## #50021 — Chad Emrys — 2010-10-30T16:47:01+00:00

URL: https://externals.io/message/49986#50021 · In reply to: #50019

> 
>    
> > […]
>      I have to say, you certainly are sure of yourself when it comes to
> describing our opinions and actions, yet - aside from argue a point
> that has little chance of succeeding here, as you can tell - you've
> done nothing to give your point validity outside of your own
> experience and interpretations.
>
>      You mentioned how great it was that PHP is FOSS, and that you'd
> only have to bribe whomever is handling patch reviews and submissions.
>   Another great thing about FOSS: your right to fork.
>
>    
It's not that I'm that sure of myself, it's that I believe that my 
opinion has merit, and I keep seeing the exact same argument over and 
over again that I believe is not a very good argument (They can just 
google it thing).  Some other people have provided other arguments as 
well and those are more valued. (Though I don't think they are strong 
enough reasons yet NOT to do it).

Forking won't fix this particular problem.

---

## #50023 — Daniel P. Brown — 2010-10-30T16:58:59+00:00

URL: https://externals.io/message/49986#50023 · In reply to: #50021

>
> It's not that I'm that sure of myself, it's that I believe that my opinion
> has merit, and I keep seeing the exact same argument over and over again
> that I believe is not a very good argument (They can just google it thing).
>  Some other people have provided other arguments as well and those are more
> valued. (Though I don't think they are strong enough reasons yet NOT to do
> it).

    It does have merit --- to you, and perhaps a few others.
Hopefully without sounding like I'm ridiculing you (it's not my
intent), have you seriously considered this at all, and are you
realizing that it's just not going to happen at this time?  I mean, if
you submitted a request or implementation proposal for an INI-based
option to switch between token strings and expanded help messages,
that would likely receive more serious attention than the dismissive
responses and formed opinions of your own insight as based upon this
discussion.

> Forking won't fix this particular problem.

    Well, if your statement about how no one here who disagrees with
you does "enough support" (which is, quite frankly, an asinine
assessment), then an equal rebuttal will be that you do not know
enough about the inner workings of the software you claim to support,
nor the culture of the group who maintains it.

    You're taking a minor annoyance and trying to convince the masses
- and indeed the "powers that be" - that it is tantamount to Y2K38.
Again, I'm really not trying to insult you or your original opinion
here, Chad, but the continued arguments are almost coming off as silly
now.

-- 
</Daniel P. Brown>
Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting
(866-) 725-4321
http://www.parasane.net/

---

## #50024 — Chad Emrys — 2010-10-30T17:18:15+00:00

URL: https://externals.io/message/49986#50024 · In reply to: #50023

> 
>    
> > […]
>      It does have merit --- to you, and perhaps a few others.
> Hopefully without sounding like I'm ridiculing you (it's not my
> intent), have you seriously considered this at all, and are you
> realizing that it's just not going to happen at this time?  I mean, if
> you submitted a request or implementation proposal for an INI-based
> option to switch between token strings and expanded help messages,
> that would likely receive more serious attention than the dismissive
> responses and formed opinions of your own insight as based upon this
> discussion.
>
>    
> > […]
>      Well, if your statement about how no one here who disagrees with
> you does "enough support" (which is, quite frankly, an asinine
> assessment), then an equal rebuttal will be that you do not know
> enough about the inner workings of the software you claim to support,
> nor the culture of the group who maintains it.
>
>      You're taking a minor annoyance and trying to convince the masses
> - and indeed the "powers that be" - that it is tantamount to Y2K38.
> Again, I'm really not trying to insult you or your original opinion
> here, Chad, but the continued arguments are almost coming off as silly
> now.
>
>    
If you haven't noticed, I am a bit stubborn, yes it's a problem.  When I 
submitted this proposal, I have to at least try to plant a bug in their 
brain that perhaps, they are being to hasty on dismissing this 
argument.  True, I do not know a lot about this particular culture that 
maintains PHP.  I just know the bigger culture of those who use PHP, and 
some of them are quite annoyed by the dismissive nature of the 
maintainers who are quite at odds to what the majority of the community 
want or needs.  And I am sort of glad to annoy those who are overly 
dismissive, and hopefully ploy the one's who are on the fence.

No one said I was good at politics.  But the fact one has to play the 
politics game here to get anything worth while doesn't really phase me.

Now I am starting to find this argument straying from the point.  I 
don't believe attacking me personally or me attacking the nature of this 
mailing list really has to do with the subject line.

---

## #50025 — Peter Lind — 2010-10-30T17:44:08+00:00

URL: https://externals.io/message/49986#50025 · In reply to: #50024

> 
> > […]
>
> If you haven't noticed, I am a bit stubborn, yes it's a problem.  When I
> submitted this proposal, I have to at least try to plant a bug in their
> brain that perhaps, they are being to hasty on dismissing this argument.
>  True, I do not know a lot about this particular culture that maintains PHP.
>  I just know the bigger culture of those who use PHP, and some of them are
> quite annoyed by the dismissive nature of the maintainers who are quite at
> odds to what the majority of the community want or needs.  And I am sort of
> glad to annoy those who are overly dismissive, and hopefully ploy the one's
> who are on the fence.
>
> No one said I was good at politics.  But the fact one has to play the
> politics game here to get anything worth while doesn't really phase me.
>
> Now I am starting to find this argument straying from the point.  I don't
> believe attacking me personally or me attacking the nature of this mailing
> list really has to do with the subject line.
>

Why not throw your weight behind http://wiki.php.net/rfc/lemon ? Seems
to me that might get a lot more traction.

Regards
Peter

-- 
<hype>
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
</hype

---

## #50026 — Jack Timmons — 2010-10-30T17:44:41+00:00

URL: https://externals.io/message/49986#50026 · In reply to: #50024

>  I just know the bigger culture of those who use PHP, and some of them are
> quite annoyed by the dismissive nature of the maintainers who are quite at
> odds to what the majority of the community want or needs.

As one of those people who "use PHP", after the first time googling
it, I haven't needed it. It's one of those things about the language
that's interesting.

If you're going to complain about how someone has to learn something
about another culture, why not take a step back and consider those
throughout the world whose native language is something other than
English have to try to translate what it does.

Also, as one who also answers other's questions (although not IRC,
because its my experience most people asking questions on there are
dbags), I find that complaints regarding PHP's ambiguity in naming
conventions and variable order (which is slowly being fixed, and is
greatly appreciated) far, far outnumber the complaints regarding
T_PAAMAYIM_NEKUDOTAYIM. Actually, I never hear complaints about
T_PAAMAYIM_NEKUDOTAYIM, just questions about what it is by people
who'd rather be told than find out for themselves. And, when they find
out, the answer is usually something like "Oh, neat."

And, what sort of cooperation do you expect to get when your first
line is "WTF is T_PAAMAYIM_NEKUDOTAYIM?". That's akin to finding
multiple languages on your tax forms and exclaiming "WTF is this doing
here!?"

-- 
Jack Timmons
@_Codeacula
Trollfree: 8503290326

---

## #50027 — Mark Skilbeck — 2010-10-30T17:57:45+00:00

URL: https://externals.io/message/49986#50027 · In reply to: #50026

On Sat, 30 Oct 2010 12:44:41 -0500
Jack Timmons <codeacula@codeacula.com> wrote:
> Also, as one who also answers other's questions (although not IRC,
> because its my experience most people asking/*answering* questions on
> there are dbags),

FTFY.

---

## #50030 — Chad Emrys — 2010-10-30T20:05:57+00:00

URL: https://externals.io/message/49986#50030 · In reply to: #50027

> On Sat, 30 Oct 2010 12:44:41 -0500
> Jack Timmons<codeacula@codeacula.com>  wrote:
>    
> > […]
> FTFY.
>
>    
That's just rude, dude.

---

## #50031 — Chad Emrys — 2010-10-30T20:10:34+00:00

URL: https://externals.io/message/49986#50031 · In reply to: #50026

> 
>    
> > […]
> As one of those people who "use PHP", after the first time googling
> it, I haven't needed it. It's one of those things about the language
> that's interesting.
>
> If you're going to complain about how someone has to learn something
> about another culture, why not take a step back and consider those
> throughout the world whose native language is something other than
> English have to try to translate what it does.
>
> Also, as one who also answers other's questions (although not IRC,
> because its my experience most people asking questions on there are
> dbags), I find that complaints regarding PHP's ambiguity in naming
> conventions and variable order (which is slowly being fixed, and is
> greatly appreciated) far, far outnumber the complaints regarding
> T_PAAMAYIM_NEKUDOTAYIM. Actually, I never hear complaints about
> T_PAAMAYIM_NEKUDOTAYIM, just questions about what it is by people
> who'd rather be told than find out for themselves. And, when they find
> out, the answer is usually something like "Oh, neat."
>
> And, what sort of cooperation do you expect to get when your first
> line is "WTF is T_PAAMAYIM_NEKUDOTAYIM?". That's akin to finding
> multiple languages on your tax forms and exclaiming "WTF is this doing
> here!?"
>
>    
I'm not arguing about learning another culture. The argument is that an 
error message that should be straight forward, isn't.

I wouldn't be here if the error message was something like:  unexpected 
 `T_PAAMAYIM_NEKUDOTAYIM` on line 23 (PAAMAYIM NEKUDOTAYIM is hebrew for 
double colon because a lot of great Israelites helped make what PHP is 
today)  :p

Also that first line is just a sample of what I got to deal with on a 
day to day basis.

---

## #50032 — Chad Emrys — 2010-10-30T20:13:40+00:00

URL: https://externals.io/message/49986#50032 · In reply to: #50025

> 
>    
> > […]
> Why not throw your weight behind http://wiki.php.net/rfc/lemon ? Seems
> to me that might get a lot more traction.
>
> Regards
> Peter
>
>    
I actually know Etienne, he does spend some of his time fighting the 
good fight of supporting PHP :p.  Anyway he has said the lemon parser 
project is going kind of slow as it is proving to be more difficult 
because some of the weirdness in PHP. (Don't ask me what that means.) 
Maybe more help should be put into that effort?

---

## #50033 — Peter Lind — 2010-10-30T20:21:13+00:00

URL: https://externals.io/message/49986#50033 · In reply to: #50032

*snip*

>
> I actually know Etienne, he does spend some of his time fighting the good
> fight of supporting PHP :p.  Anyway he has said the lemon parser project is
> going kind of slow as it is proving to be more difficult because some of the
> weirdness in PHP. (Don't ask me what that means.) Maybe more help should be
> put into that effort?

That was my point: perhaps that would be a less futile fight than
trying to persuade people that t_paamayim_nekudotayim should be
renamed.

Regards
Peter

-- 
<hype>
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
</hype

---

## #50034 — Chad Emrys — 2010-10-30T20:25:29+00:00

URL: https://externals.io/message/49986#50034 · In reply to: #50033

> 
>
> *snip*
>
>    
> > […]
> That was my point: perhaps that would be a less futile fight than
> trying to persuade people that t_paamayim_nekudotayim should be
> renamed.
>
> Regards
> Peter
>
>    

Perhaps you are right.  Most constructive thing said in this thread yet.

---

## #50035 — Chad Emrys — 2010-10-30T20:25:29+00:00

URL: https://externals.io/message/49986#50035 · In reply to: #50033

> 
>
> *snip*
>
>    
> > […]
> That was my point: perhaps that would be a less futile fight than
> trying to persuade people that t_paamayim_nekudotayim should be
> renamed.
>
> Regards
> Peter
>
>    

Perhaps you are right.  Most constructive thing said in this thread yet.

---

## #50039 — Jack Timmons — 2010-10-31T00:50:29+00:00

URL: https://externals.io/message/49986#50039

> I'm not arguing about learning another culture. The argument is that an
> error message that should be straight forward, isn't.

You misunderstand my point.

It isn't straightforward for -you- because that isn't your native
language. Thus the cultural point. But if switched to
"T_DOUBLE_COLON", then others who don't know English could then argue
it isn't straight forward.

It's an entirely pedantic point to argue, I agree, but thus far you
entire complain was because it isn't in English, and you want it
changed so you "don't have to hear about it constantly". The fact is,
it says "double colon" in a different language, so aside from
translation there's nothing wrong with it at all.

Magic would be internationalizing the error messages, but then there
will be someone whose language doesn't have a version.

-- 
Jack Timmons
@_Codeacula
Trollfree: 8503290326

---

## #50042 — Chad Emrys — 2010-10-31T17:47:00+00:00

URL: https://externals.io/message/49986#50042 · In reply to: #50039

> 
>    
> > […]
> You misunderstand my point.
>
> It isn't straightforward for -you- because that isn't your native
> language. Thus the cultural point. But if switched to
> "T_DOUBLE_COLON", then others who don't know English could then argue
> it isn't straight forward.
>
> It's an entirely pedantic point to argue, I agree, but thus far you
> entire complain was because it isn't in English, and you want it
> changed so you "don't have to hear about it constantly". The fact is,
> it says "double colon" in a different language, so aside from
> translation there's nothing wrong with it at all.
>
> Magic would be internationalizing the error messages, but then there
> will be someone whose language doesn't have a version.
>
>    
That wouldn't bother me if it was in a different language as long as all 
tokens are consistently in another language.  The fact there is ONE 
token in Hebrew is inconsistent and not straight forward.

---

Next page: https://externals.io/message/49986.md?page=2
