Live data from Hacker News

If PHP Were British (2011)

aloneonahill.com

21–30 of 47 posts

Re: If PHP Were British (2011)

#21
In reality of course the only difference is that it gets spelled "colour"...

One thing I'm surprised to have seen only once is use of ¬ as an escape character, because it's so reliably unused for anything at all. (I noticed in the code that this program, which needless to say was written at a UK company, had no way of escaping ¬ itself, presumably because nobody had ever needed that.)

£ also seems a bit underused, but it's fairly specifically the UK's currency symbol, so it's not obvious else you'd use it for.

(But I suspect only UK keyboards have these chars, so it's probably no bad thing.)

Re: If PHP Were British (2011)

#24
post #21

In reality of course the only difference is that it gets spelled "colour"... One thing I'm surprised to have seen only once is use of ¬ as an escape character, because it's so reliably unused for anything at all. (I noticed in the code that this program, which needless to say was written at a UK company, had no way of escaping ¬ itself, presumably because nobody had ever needed that.) £ also seems a bit underused, bu…

The funny spelling of centre always gets me too, it just looks so wrong! I can get used to writing words that end in ise as ize, and colour as color. But center, fiber, liter, etc just don't sit right.

Re: If PHP Were British (2011)

#26
Since Rasmus Lerdorf was in Canada, I wonder what this would look like if it were in Canadian English. It would retain the dollar signs and serialize(), but switch to "colour" and "centre". It would be required by law to support a French version for every keyword. All PHP developers would have the advantage of free treatment for carpal-tunnel and other RSI injuries.

What else?

Re: If PHP Were British (2011)

#28
post #21

In reality of course the only difference is that it gets spelled "colour"... One thing I'm surprised to have seen only once is use of ¬ as an escape character, because it's so reliably unused for anything at all. (I noticed in the code that this program, which needless to say was written at a UK company, had no way of escaping ¬ itself, presumably because nobody had ever needed that.) £ also seems a bit underused, bu…

The funny spelling of centre always gets me too, it just looks so wrong! I can get used to writing words that end in ise as ize , and colour as color . But center , fiber , liter , etc just don't sit right.

It's just a matter of getting used to. I imagine these spellings do not evoke the same feeling in you, even though they are objectively following the same rule as centre and fibre:

Maple not Mapel

Cable not Cabel

Re: If PHP Were British (2011)

#29
exit() would be called brexit() as some of the commenters pointed out... but instead of actually exiting, it will hang indefinitely trying to choose which exit code to return.

Re: If PHP Were British (2011)

#30

Earlier quoted context omitted.

The funny spelling of centre always gets me too, it just looks so wrong! I can get used to writing words that end in ise as ize , and colour as color . But center , fiber , liter , etc just don't sit right.

It's just a matter of getting used to. I imagine these spellings do not evoke the same feeling in you, even though they are objectively following the same rule as centre and fibre: Maple not Mapel Cable not Cabel

Able not Abel
Post reply on HN