Live data from Hacker News

If PHP Were British (2011)

aloneonahill.com

31–40 of 47 posts

Re: If PHP Were British (2011)

#31
post #3

Snort The idea of the super global £_BISCUIT instead of $_COOKIE - that made my morning.

Offtopic - re cookies, the etymology of cookie (or 'magic cookie') as an opaque value is very obscure and has a interesting social side-effect in that it's difficult for average people to get very worked up about websites serving cookies (vs say the more universally understood 'tokens' or 'tracking codes'). While I get that the term originated in the Unix/C world[1], does anyone know if it comes from a particular US…

I don't know why but I (UK, en-gb native) always assumed "cookie" was reference to a fortune cookie in turn a placeholder for the little slips of paper with obscure notes on them hidden inside a sweet treat (ie the website)??

Re: If PHP Were British (2011)

#32
post #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?

The Canadian version would apologize profusely whenever an error occurs.

Re: If PHP Were British (2011)

#33
post #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.

brexit() is when you try to break from a switch but accidentally leave the EU.

Re: If PHP Were British (2011)

#34
post #2

I assume the site is coded in PHP and that's why it's down ;) Text-only cache [1] [1] http://webcache.googleusercontent.com/search?q=cache:imONA_3...

It must be, cause only PHP sites go down under heavy load/s

Damn, those PHP sites, they dirty!??

Re: If PHP Were British (2011)

#35
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.

Here’s my American perspective:

Centre look and sounds like “cent-ruh” rather than the rolled out sounding of err sound to make “center”. Then again, how you say it is a bit different, too.

Re: If PHP Were British (2011)

#36
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…

¬ is one of the many 'not' symbols that has been used through history.

As to why UK keyboards include it? Probably IBM, ¬ was the negation/not symbol in Z, it wouldn't surprise me if Hursley Park petitioned the rest of the company to ensure it was on the UK PC layout.

(This Z: https://en.wikipedia.org/wiki/Z_notation )

Re: If PHP Were British (2011)

#37

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.

Here’s my American perspective: Centre look and sounds like “cent-ruh” rather than the rolled out sounding of err sound to make “center”. Then again, how you say it is a bit different, too.

There are two "US" pronunciations on Wiktionary.

The first is much closer to the British pronunciation, which (I think) is much more deserving of the spelling "centre" than the second "cener".

https://en.wiktionary.org/wiki/center#Pronunciation

Re: If PHP Were British (2011)

#38
post #36
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…

¬ is one of the many 'not' symbols that has been used through history. As to why UK keyboards include it? Probably IBM, ¬ was the negation/not symbol in Z, it wouldn't surprise me if Hursley Park petitioned the rest of the company to ensure it was on the UK PC layout. (This Z: https://en.wikipedia.org/wiki/Z_notation )

It makes a good EOL character to highlight trailing whitespace.

Re: If PHP Were British (2011)

#39
post #36

Earlier quoted context omitted.

¬ is one of the many 'not' symbols that has been used through history. As to why UK keyboards include it? Probably IBM, ¬ was the negation/not symbol in Z, it wouldn't surprise me if Hursley Park petitioned the rest of the company to ensure it was on the UK PC layout. (This Z: https://en.wikipedia.org/wiki/Z_notation )

It makes a good EOL character to highlight trailing whitespace.

True, but unicode gives us ⏎ which is pretty unambiguous

Re: If PHP Were British (2011)

#40
post #32
post #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?

The Canadian version would apologize profusely whenever an error occurs.

It would also consistently support systems written in allied British-PHP and American-PHP while never drawing attention to it.

Routine would be renamed Poutine.

Post reply on HN