When Rasmus Lerdorf first put PHP together, he - quite sensibly, despite his heritage - chose not to write it in Greenlandic or Danish. Good job too - that would have been rather unpleasant to work with. He opted instead, being in Canada, for a more local tongue. No, not French. Not Canadian English either. No, he went for that bastard dialect of the Queen's English commonly referred to as "US English".
PHP developers in Britain have been grumpy about this ever since. What was he thinking? And more importantly, how do we undo this travesty? How do we developers ensure the traditions of the British Empire continue to be upheld, even in the digital age?
A Slap in the Face
$variable_name
The first, but maybe the most important, of many changes that will allow PHP to achieve a more elegant feel is to remove that symbol so beloved by the US and replace it with something altogether more refined. More solid. More ... sterling.
£variable_name
Getting Started
<?php
echo 'Hello World!';
?>
How many of today's British programmers have been put off at the outset by the brazen informality of this simple yet obscenely Americanised program, colloquially referred to as "Hello World"? A more Imperial, formal introduction might encourage a greater proportion of young British talent to remain with the language and thus give the broader community a more urbane air.
<?php
announce 'Good morrow, fellow subjects of the Crown.';
?>
Abbreviations
Few things are more abhorrent to the British than unnecessary abbreviations. "Text speak" is unheard of on the streets of London, as the natural ingrained British grammarian simply refuses to stoop to sending messages of the "c u soon traffic kthxbye" variety, instead proferring something altogether more elegant: "Dear Sir/Madam. I will arrive as soon as time allows, which I expect to be within the hour. I assure you the horses shall not be spared. Yours respectfully." (slower to type, yes, but we do not like to be rushed).
PHP, on the other hand, is full to bursting with abbreviations and acronyms which are entirely unnecessary:
str_replace() is_int() var_dump() preg_match() json_encode() mysql_connect()
The following changes should improve things:
string_replace() is_integer() variable_dump() perl_regular_expression_match() javascript_object_notation_encode() my_structured_query_language_connect()
Edit: I have corrected the expansion of "preg_match" - thanks to those who pointed it out.
Eloquence
if ($condition) {
// Code here
} else {
// Code here
}
Shakespeare would be ashamed to see his native tongue twisted into this monstrosity. Brevity is to be applauded in the right context - in some dark corner, where it shall be seldom seen - but not here. The if ... else block is the most used conditional code in all of PHP, so it must be made as inoffensive as possible. There are many options for its replacement, but this may be the strongest:
perchance (£condition) {
// Code here
} otherwise {
// Code here
}
The same naturally applies to the Americanised switch ... case construct, which one can only describe as clunky and unpleasant:
switch ($variable) {
case $option1:
//Code here
break;
case $option2:
//Code here
break;
default:
//Code here
break;
}
Words such as "switch", "break" and "default" are hard on the reader and lack context. The Right Honourable biggerthancheeses was kind enough to contribute a more gentrified suggestion (and has some interesting ideas, particularly around replacement of "include()" with something like "i_might_be_partial_to()", demonstrating a natural talent for the Imperialisation of programming languages):
what_about (£variable) {
perhaps £possibility:
//Code here
splendid;
perhaps £other_possibility:
//Code here
splendid;
on_the_off_chance:
//Code here
splendid;
}
Spelling
imagecolorallocate() serialize() newt_centered_window() connection_status()
Words fail me at this point. How is any self-respecting gentleman expected to make head or tail of these "words". It beggars belief that anyone could allow such distortions of words to be entered into a programming language. They, along with the cornucopia of similar errors, should be reverted to their proper forms immediately:
imagecolourallocate() serialise() newt_centred_window() connexion_status()1
Manners
try {
// Code here
} catch (Exception $e) {
// Handle exception
die('Message');
}
The try ... catch block is an excellent example of PHP's lack of manners. Far too direct to be allowed in the new PHP. Additionally, the word "die" is so very depressing. This new block, although more verbose, is vastly more polite and upbeat:
would_you_mind {
// Code here
} actually_i_do_mind (Exception £e) {
// Politely move on
cheerio('Message');
}
Class
Perhaps nothing is as important and ingrained in the British psyche as the notion of class and, while there are few opportunities for change within this part of PHP, the changes that there are to be made here are important.
class Republic {
public $a;
private $b;
protected $c;
}
$example = new Republic();
To begin with, the current system has no place for class hierarchy and this is unacceptable. So we shall begin by giving classes specific levels - upper, middle, working - and no class can access the methods of one of a higher level without the explicit permission of the higher order class (of course, though it might then have access, it would not be a true member of the higher order and could not itself grant higher order access to other lower order classes). "Public" and "Private", in the British class system, are often synonymous (see, for example, school system nomenclature), so these must be adjusted, as should the "Protected" property visibility. The word "new", while passable, has a much more appropriate replacement in matters of class.
upper_class Empire {
state £a;
private £b;
hereditary £c;
}
£example = nouveau Empire();
The Sun Never Sets ...
It is hoped that these few simple changes will improve the reputation and status of PHP among other languages. No longer will it be the poor American cousin - instead it can take its rightful place as the - British - King of the scripting languages.
Thanks
Many thanks to Mark and Pat, former colleagues, who helped start this resurrection of the British Empire in the pub on Friday.
357 Comments
Absolutely brilliant
I'm going to look into recompiling PHP into PHP BE (British Edition) immediately!!
#1, Phil Barker, United Kingdom, 20 August 2011. Reply to this.
Probably wouldn't use £ (pound) because it's not ASCII friendly. So perhaps # instead, unless you're assuming some kind of BSCII...
Replies: #79, #130 and #323.
#2, hm2k, UK, 20 August 2011. Reply to this.
Haha, i´m loving this :P Although, i must admit that i am not hating a few of the British versions!
Best regards
#3, Domäner, Sweden, 20 August 2011. Reply to this.
I'm bewilderedly amused by this reading!
#4, ozh, FR, 20 August 2011. Reply to this.
Love this. I always think about things like this (what if?) - and always said that if I ever wrote a language I would want to [shame it's not ASCII] use the pound sign as a variable symbol.
#5, Ben Nuttall, UK, 20 August 2011. Reply to this.
Haha, your perchance statements are infinitely better!
#6, Michael Martin, UK, 20 August 2011. Reply to this.
This post has cheered me up!! I absolutely love the would_you_mind try catch but perhaps instead...
<pre>
<code>
would_you_mind {
...
} never_mind ( ... ) {
...
}
</code>
</pre>
Replies: #227.
#7, Phil Parsons, England, 20 August 2011. Reply to this.
It's funny - I often find myself writing variables as £var by mistake... but then writing color in normal text as well.
#8, Adam Maltpress, UK, 20 August 2011. Reply to this.
One might also want to take a look at PHPs error messages. By now, they are rather aggressive "You are at fault!"-type of messages, which certainly do not fit the elegant and polite British style.
#9, John Smith, 20 August 2011. Reply to this.
I prefer a lot american PHP :), i wouldn't like £variable_name and my_structured_query_language_connect() :D.
#10, Davide, Italy, 20 August 2011. Reply to this.
I think you missed the most important one
<?php
echo "hello world";
?>
should definitely be
<PersonalHomePage
announce "hello Britain";
/PersonalHomePage>
Replies: #82, #144, #185 and #262.
#11, Devis, UK, 20 August 2011. Reply to this.
preg_match()
should actually expand to
perl_regular_expression_match
Replies: #18, #37 and #277.
#12, Dan, 20 August 2011. Reply to this.
I'll be damned if those limey bastards are taking my language! Round up the boys. Tell 'em to git their rifles. Its time to let them redcoats know we mean to protect our syntax.
Replies: #115 and #270.
#13, Damn Yankee, USA USA USA, 20 August 2011. Reply to this.
BPHP with BSCII character code :)
#14, Roshan Bhattarai, Nepal, 20 August 2011. Reply to this.
Excellent post. Never thought of that. But since I am Danish myself Rasmus would have done justice writing it kr.variable = 'hej verden';
:)
#15, Bilal Clarance, USA, 20 August 2011. Reply to this.
I think I'll write a Scottish version.
#16, John Hamelink, Scotland, 20 August 2011. Reply to this.
If we are being particular about the use of the English language, can I raise a comment with regards to the text under the sub-heading 'spelling'.
One of the most misused words in English is 'myriad'. Please note that it should be used as if it were 'many' rather than 'a lot' eg. There were myriad lines of code' not 'there were a myriad of lines..'. Rant over.
Replies: #40, #131, #145 and #217.
#17, Alex, UK, 20 August 2011. Reply to this.
Its good to have short codes in computer languages but British English is way better and mature then American English.
#18, Rizwan, Pakistan, 20 August 2011. Reply to this.
#12 Tosh! Your proposed function is a travesty of guttersnipe slang! I will not touch Her Royal Highness' PHP unless it is rephrased properly as
practical_extraction_and_report_language_regular_expression_match
Replies: #175.
#19, Ryan, Colonies, 20 August 2011. Reply to this.
Funny but even as a Brit I was hate the verbosity of the British version.
A couple of points. I didn't think Canadians spoke US English. I thought they spoke Canadian English. For example Zed rather than Zee. Secondly it would be "hello empire" rather than "hello world" which at one point would have been the same thing ;-)
#20, Cyberspice, UK, 20 August 2011. Reply to this.
THIS ARTICLE made me laugh rolling on the floor. Especially on this line
would_you_mind {
// Code here
} actually_i_do_mind (Exception £e) {
// Politely move on
cheerio('Message');
}
would_you_mind? I said NO! LOL.. very very LOL..
Thank you so much for posting such article..
#21, aprillins, Indonesia, 20 August 2011. Reply to this.
would_you_mind {} oh_well_whatever_nevermind (DirtyWordException £e) { hello_hello_hello_how_low() }
#22, myfreeweb, Russia, 20 August 2011. Reply to this.
Funny article but:
Pound sign is in ASCII.
Connnexion is not British.
English Text speak was practically invented in Britain.
Canadians don't use US English.
Keep calm and carry on.
#23, Bbbbbod, 20 August 2011. Reply to this.
For the next version (deprecated the decimal numeration) please add support for EBCDUK, midranges and mainframes can't be forgotten! :)
#24, Àlex Corretgé, Catalonia, 20 August 2011. Reply to this.
Great article, but if he was in Canada, the local dialect would have influenced him to use "colour", since we have stayed true to our heritage.
Thanks.
#25, Erik, 20 August 2011. Reply to this.
What is this "British empire" to which you refer?
#26, Patrick "Tex", Texas, 20 August 2011. Reply to this.
Funny post - although, did you mean 'serialize' for the British version under the spelling?
I think a Yorkshire dialectical version would also be quite amusing! I believe someone did a version of the bible like that a few years ago.
give_t'_expression_a_go instead of the try statements?
#27, Richard, US (UK emigrant), 20 August 2011. Reply to this.
I was thinking about the same, just about my (czech) language - i have found php function rename_function, which could be used to many of theese functions.
The only problem i got is how to rename language constructs like "echo", "if" etc. If there would be some easy way how to do it, i would definitely create such special PHP version (for school kids, which do not know english).
#28, Tomas Kapler, Czech Republic, 20 August 2011. Reply to this.
Canada uses US English. I hate US Britsh/CA French as several keys dont work properly.
#29, meh, 20 August 2011. Reply to this.
The problem is that the British don't complain when something goes wrong.
So when checking the result of a function, you'd always get true as a response, just to varying degrees of emphasis.
<?php
alright_ar_kid(Memcache->getServerStatus('localhost'))
// returns 'alright'
?>
#30, FuzzyDunlop, 20 August 2011. Reply to this.
Yes, but how in the world are you gonna have it leak oil ;)
Replies: #180.
#31, Bradman, USA, 20 August 2011. Reply to this.
Dear Sir/Madam. I will write this comment as soon as time allows, which I expect to be within this very second. I assure you the comment shall not be spared. Yours respectfully.
#32, Gautam, India, 20 August 2011. Reply to this.
A couple of notes. Yes, I have a Canadian passport and lived in Canada in the formative years of PHP, so if my current locale had been an influence it would have been "colour". But I was already used to American-english language tokens by that point and it didn't even cross my mind to stray from that and adopt Canadian/Danish/Inuktituk. The latter would have been fun though.
However, note also that the "colour" variation is actually rather recent and influenced by the french. The "color" spelling is more traditional english from before the Norman conquest in 1066, so one could easily argue that the American english spelling is more authentic and it is the British dialect of english that has diverged from the traditional form.
Replies: #45 and #68.
#33, Rasmus, 20 August 2011. Reply to this.
Think in the same way about Ruby, probably they will rewrite it from scratch. :)
#34, Ramesh, India, 20 August 2011. Reply to this.
One of the most awesome posts I've read recently. Brilliant. Maybe community should compile B(ritish)HP?
#35, Andrzej O?mia?owski, Poland, 20 August 2011. Reply to this.
Hilarious article, but let me offer a few notes:
Oh wait, no, let me not, unless it's faux for humor's sake. Otherwise I would be a massive tool shed. But maybe that's just my Yankee "Don't tread on me" vituperivity compelling my shielding of the creatives from the critics.
(He baits the line...)
#36, eDawg, United States, 20 August 2011. Reply to this.
great! :D
#37, sazary, 20 August 2011. Reply to this.
#12 +1
#38, clm, 20 August 2011. Reply to this.
I lost it when I reached "£variable_name." Too bad PHP doesn't have some sort of preprocessor. It would be hilarious to write a library to enable these. Recompiling from C is going a bit overboard, though. :)
#39, redwall_hp, United States (or "The Colonies" if you're British), 20 August 2011. Reply to this.
Funny article, thanks, it's maybe not that bad that he was not english finally. :D
#40, Mathias Philippe, 20 August 2011. Reply to this.
#16 Actualy one myriad = 10.000
#41, pstamb, greece, 20 August 2011. Reply to this.
if => perchance and $ => £
Boisterously merry. Indeed!
#42, TVD, 20 August 2011. Reply to this.
wouldn't the rioters version be more today's Engalnd?
so 'cheerio' is more 'laters bruv'
no, too depressing
#43, leopold, 20 August 2011. Reply to this.
Great article but shouldn't it be "if PHP were English..." and not "British".
A Scots or Welsh version of PHP could be, errr, interesting...
Replies: #265.
#44, Jeff T, England, 20 August 2011. Reply to this.
You missed
while { true } ->
whilst { true }
#45, Laurie, Great Britannia, 21 August 2011. Reply to this.
#32 Alas, Rasmus, you are in error for two reasons. First, since spelling was hardly standardised, even in the 19th Century, you can hardly cite A/S spolling (sic) as evidence.
Second, it is fairly well known that that great *American* lexicographer, Noah Webster, was an Anglophobe. He quite deliberately did his very best to standardise spellings away from the English (British) norms. And that is why we have have so much confusion over defence / defense, centre / center, colour / color, etc.
#46, Raedwulf, England, 21 August 2011. Reply to this.
A very enjoyable read! I don't know where to start with a 'switch'; My mind is now swimming with English etiquette.
#47, Nicholas Wright, UK, 21 August 2011. Reply to this.
As a programmer you should know that "$" is the symbol for a STRING. And /not/ for the United States Dollar.
The symbol for the US Dollar has 2 stripes in the "S" , not just one.
#48, Samir Allioui, Netherlands, 21 August 2011. Reply to this.
I'm Canadian and while our English is pretty similar to US English, there are some differences such as color/colour. I'm always having to remember to use the former in code that interfaces with US-written graphic libraries and the latter in displayed messages...
#49, ?, Canada, 21 August 2011. Reply to this.
Anyone who is truly British would know that the first thing you would print, would not be 'Hello World'.
It would be:
<?php
print("God Save the Queen!");
?>
#50, Ard Righ, New Zealand, 21 August 2011. Reply to this.
£status = getServerStatusPlease();
print £status;
// Prints: "Mustn't grumble"
Replies: #54.
#51, Neil, 21 August 2011. Reply to this.
PHP would have been wonderful with an Inuktitut-flavoured syntax! Since the language family is polysynthetic (and written using syllabics), one could compose one-liners that would leave the APL crowd boggling in envy.
#52, Stan Rogers, Canada, 21 August 2011. Reply to this.
Jolly good show!
#53, Damon, Canada, 21 August 2011. Reply to this.
So, it take's an Iri$h that migrated to the new world to correct the british language?
#54, Amie, South Africa, 21 August 2011. Reply to this.
#50 Or: canSendServerStatusPlease(). :)
#55, Àlec Corretgé, Catalonia, 21 August 2011. Reply to this.
I doff my hat to you good sir.
#56, Bevan, UK, 21 August 2011. Reply to this.
Wow, thanks for the great response! I'm chuffed so many of you liked this. I'm correcting a few of the more egregious errors now, and have fixed the issue that took the server down yesterday.
Also quite amused at the (few) people who emailed me thinking this was a serious suggestion.
#57, DaveChild, United Kingdom, 21 August 2011. Reply to this.
I don't how it is today, but I remember that Microsoft Access VBA was localized, so there were for example WENN - DANN statements in the german version (instead of IF - THEN). Projects created with the US version did run on german installations, but not the other way round. I don't remember having any difference between US and British versions though. Today with .NET it's totally different anyway.
I wonder what would happen if PHP or whatever popular language would be localized. I'm thinking especially about an arabic or chinese PHP localization.
#58, Eric, 21 August 2011. Reply to this.
Didn't Shakespeare himself say that "Brevity is the soul of wit"?
#59, Jonathan Hitchcock, South Africa, 21 August 2011. Reply to this.
Imperial PHP :)
#60, Sasha, 21 August 2011. Reply to this.
surely,
would_you_mind_awfully {
<suite>
} ...
?
#61, Martin Keegan, United Kingdom of Great Britain and Northern Ireland, 21 August 2011. Reply to this.
Do you think a British person has ever written "connexion"? You sir, have got yourself in quite a muddle there.
Replies: #145.
#62, Fuzzyd, UK, 21 August 2011. Reply to this.
Superb :)
#63, Nicolas, France, 21 August 2011. Reply to this.
I actually think "hereditary" class variables are a good idea, it says what they do much better than "protected" does.
#64, mywall, 21 August 2011. Reply to this.
I took a tumble off my chair at the cheerio bit.
I'm still smiling ear to ear. Thank you!
#65, Horia Dragomir, 21 August 2011. Reply to this.
As mentioned, connexion is not a word, no matter where you are, and nouveau is French and unlikely to be used by any self-respecting British person.
Replies: #257.
#66, david Pashley, UK, 21 August 2011. Reply to this.
What about namespaces?
<?php
namespace my\stuff;
use another\thing as MyClass;
?>
Should surely be:
<?php
lineage my\stuff;
how_do_you_do another\thing may_I_call_you MyClass;
?>
#67, Kris, Britain, 21 August 2011. Reply to this.
A splendid post, Sir. Might one suggest that a 'Protected' property be referred to as 'Listed'?
#68, zzzp, 21 August 2011. Reply to this.
#32
'color' is Latin.
Anglo-Saxon is Germanic so it would make sense if our Old English word for colour was something like farbe, but it's not, it's hiw, from whence we get hue.
Color is one of the few words that Webster got right.
#69, kenif, US, 21 August 2011. Reply to this.
To those taking issue with "connexion" - check out http://en.wikipedia.org/wiki/American_and_British_English_spelling_differences#-xion.2C_-ction
#70, DaveChild, United Kingdom, 21 August 2011. Reply to this.
You're all lucky that PHP isn't inspired by polish language :)
#71, Peter Lewandowski, Poland, 21 August 2011. Reply to this.
As far as I know, PHP is an infinite abbreviation. I think it stands for PHP: Hypertext Preprocessor.
#72, Jack Griffiths, UK, 21 August 2011. Reply to this.
Very clever, good way to start my morning.
Replies: #122.
#73, Robert Ross, 21 August 2011. Reply to this.
If Google's N-gram data is to be believed, use of "connexion" vs "connection" was fairly similar on both sides of the pond, "connexion" being more popular in the mid 1800s. But although persisting slightly longer in British English, it's now a bit archaic. Which is presumably why the previous commenters are unaware of it.
"Nouveau" of course is permitted, but only when being dismissive of the n. riche.
#74, Zed, UK, 21 August 2011. Reply to this.
Stupendous reading for a Sunday morning.
#75, Morgan, US, 21 August 2011. Reply to this.
Of course, the worst thing about PHP is the awful grammar that we're required to use. For example, it makes no sense whatsoever to write exists(£england). Far better towrite ((£enlgand)exists.
My proposal is that function arguments should be placed in the proper location, so that any number of parenthesised argument lists might be included in the call. I present some examples. These read better if we replace the rather presumptuous "return" with "Excuse me please, I wonder if you could let me know if"
(£needle)might_be_found_in(£haystack)
you_know_the_location_at_which(£needle)may_be_found_in(£haystack)
#76, Ian Eiloart, uk, 21 August 2011. Reply to this.
Phil, I think that should be would_you_mind { ... } terribly_sorry_but(...) { ... }.
#77, ppog, 21 August 2011. Reply to this.
"Perchance" is not a conjunction. Perchance it were, this sentence would be correct.
#78, Harry Campbell, UK, 21 August 2011. Reply to this.
I love the "newt_centered_window()".
Obviously, a specialist accessibility feature for the Equality Act (2010).
#79, P G B Whitham, England, 22 August 2011. Reply to this.
#2 Assuming you couldn't use £ instead of $, I fail to see why you'd replace it with the hash symbol. It's only those weird Americans that call # 'pound'.
#80, James, UK, 22 August 2011. Reply to this.
We already have the one, true British programming language: BBC BASIC.
http://en.wikipedia.org/wiki/BBC_BASIC
#81, Tom Morris, The United Kingdom of Great Britain and Northern Ireland, 22 August 2011. Reply to this.
Bloody marvellous. Congratulations old chap.
#82, Clinton, England, 22 August 2011. Reply to this.
#11 PHP hasn't been called that in ages, and the circular acronym is perfectly English
do we still call the following there old (and sometimes still relevant names)
ASP - A Sh*t Parser
JAVA - Just Ahh Vulgarity Again
#83, Keloran, UK, 22 August 2011. Reply to this.
"'Text speak' is unheard of on the streets of London"
A contradiction in terms.
#84, anonymo, Schleswig-Holstein, 22 August 2011. Reply to this.
Far from being depressing, "die" is sometimes expected of a gentleman, particularly when exception has been taken. Of course, it should be renamed:
would_you_mind {
// Code here
} actually_i_do_mind (Exception £e) {
do_the_decent_thing('Message');
}
#85, Brian, 22 August 2011. Reply to this.
Still better than the chinese version of PHP where everything will be symbolized.
But in the end I urge to request everyone to respect each langauge and culture.
BTW, it's a fantastic post. Keep on writing.
#86, chris, USA, 22 August 2011. Reply to this.
EXCELLENT! *LOL*
#87, edith, italy, 22 August 2011. Reply to this.
Hahaha, excellent article. Amusing take on the nonsense that is the
deterioration of the British tongue!
#88, Paul, England, 22 August 2011. Reply to this.
Great post! However, you are using a word 'program' in it. Shouldn't it be 'programme'? :)
#89, OHaleck, 22 August 2011. Reply to this.
Wonderful.
Do you suppose HTTP_REFERER would be HTTP_REFERRER in British English PHP? I dare say so.
#90, Joen, Denmark, 22 August 2011. Reply to this.
The local language of Canada is NOT US English. We write "colour" not "color" and "honour" not "honor" and like the rest of the world we say "zed" for "z", not the Americanized "zee"
Replies: #94.
#91, ChilliWillee, Canada, 22 August 2011. Reply to this.
Had a good laugh with this one. Super!
Dunno what to think of some of the comments... looks like Sheldon Cooper really exists and also in the wild doesn't grasp humor ..
Replies: #245.
#92, Tom Hermans, Belgium, 22 August 2011. Reply to this.
How about writing PHP in American.
.try {
// Code here
} catch (Exception $e) {
// Handle exception
if { minor_crime}
put_in_prison_for_life
}
#93, Annoyed, Great Britan, 22 August 2011. Reply to this.
Simply put this article is BRILLIANT !!! ...
and my native tongue is (latinamerican) Spanish, nevertheless same phenomena woul have ocurred if Rasmus had been in born in Spain
#94, Ramiro, Guatemala, 22 August 2011. Reply to this.
The thing about 'colour' is that it's pronounced different from 'color.' The '-our' has a lighter 'ah' sound to it.
I've always hated the word 'error' as I grew up with the Acorn computers, and their 'Mistake in line 100' type of messages. 'Error' sounds like robot speak to me.
#90
#95, DAve, UK, 22 August 2011. Reply to this.
Sooo Bloody English! Soo Brillant! =))
#96, JP, Philippines, 22 August 2011. Reply to this.
If PHP was British or any other language except American then the syntax of mktime()
would be
mktime($hour,$minute,$second,$day,$month,$year ,$daylightSavingTime)
and not
mktime($hour,$minute,$second,$month,$day,$year ,$daylightSavingTime)
#97, Mark A., UK (England), 22 August 2011. Reply to this.
Roles On Floor Laughing
#98, EHCandian, Canada, 22 August 2011. Reply to this.
I also had a BBC Micro Acorn that spelt colour COLOUR but they made a US version that spelt colour COLOR.
Just imagine if we changed the HTML code FONT COLOR= to FONT COLOUR= on every web page.
#99, Mark A., UK (England), 22 August 2011. Reply to this.
Reminds me on one of my favourite error messages:
"Perchance the link worketh for thee.
Alas it worketh not for me."
Replies: #300.
#100, Peter Millington, England, 22 August 2011. Reply to this.
Comedy Gold ! well done old chap
#101, Matt, Australia, 22 August 2011. Reply to this.
Actually, 'connexion' was the standard spelling long before 'connection' had any currency in any dialect of English. Read some of the classics - you'll find it used extensively.
#102, Mike Synnott, Ireland, 22 August 2011. Reply to this.
I think if we are going to create 'BSCII', we would have to include the 'T' from interchange on the end and make it BSCIIT, because there is not an Englishman alive that doesn't love a good biscuit!
#103, Colin Burton, USA/UK, 22 August 2011. Reply to this.
We'll consider this as soon as you do your proper, un-Brussels best and go back to using £sd!
It's so simple! frigzampl:
£247 11s 8½d * 114% => £282 4s 11¼d
That's true British! (And the rounding error goes into the MP's' holiday-homes-on-Majorca account!)
[During "the War" you could get a 4-course meal in London for 1/- !]
#104, Viking9, 22 August 2011. Reply to this.
Since we have own PHP compiler (http://www.php-compiler.net/) I'm thinking about making British fork. It seems it would be very popular! :-) And all these necessary modifications are possible easily. Is there anybody who would like to maintenance it ? :-)
#105, Jakub Misek, Czech Republic, 22 August 2011. Reply to this.
Perhaps this rather more eloquent and elegant semantic form could make its way onto the user interface as well. I really hate my computer when it says things like: "Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM"
Could it not simply say "Whoops a daisy"
#106, Dave Yates, UK, 22 August 2011. Reply to this.
Infinitely hilarious. However, I do like some of the UK alternatives.
#107, Oscar, USA, 22 August 2011. Reply to this.
I'm not sure about using "nouveau" instead of "new". A bit French, if you see what I mean, and the sort of word one of those new-money bounders would use.
A better alternative for a new object would be "pristine".
#108, Ian Rolfe, UK, 22 August 2011. Reply to this.
Your replacement for 'if' is a tad working-class. "perchance" ? Really?
The proper replacement for 'if', and this works not only in .php, but in any context of any document, is:
In_The_Event_That_Circumstances_Should_Warrant {
}
Please take due notice thereof and act accordingly.
#109, Balboos HaGadol, USA, 22 August 2011. Reply to this.
Great post though I believe that the "hello world" would be the P.J Woodhouse phrase "What Ho" or perhaps "Ahoy Hoy World".
#110, flukywotist, 22 August 2011. Reply to this.
Its always great to see the yank take the p**s out of English. The language that we invented and you bastardised.
#111, Jonny English, ENGLAND, 22 August 2011. Reply to this.
Absolutely brilliant
#112, Tim Smith, UK, 22 August 2011. Reply to this.
The '#' pound sign is actually an invention/convention that arose in England. It is a glyph derived from the abbreviation of the weight-unit 'pound'—"lb": (1) the left vertical is the 'l', the right is the vertical stroke of the 'b', (2) the 'bowl' of the 'b' was extended back to the left across both verticals, and (3) a horizontal stroke was added as was the case with many abbreviations used in commerce during the pre-keyboard days/daze, viz. the stroke across the 'L' abbreviation for 'librum' ([accounting] "pound"). (The bowl of the 'b' disappeared when the two horizontals started to be drawn in the same, left-to-right manner.) The difference in abbreviations for the same word most likely reflects their separate usage, and the need to keep the clerks' handwritten records of transactions decypherable.
How many £'s per # is this wordiness worth?
Replies: #139.
#113, Ed, London => Jamestown => Texas, 22 August 2011. Reply to this.
Very amusing. Much geek humour of this ilk has originated in the pub.
Back in the late 80s, for example, my mate Jimmy Kavanagh and I used to come up such things over a pint - or more frequently, after the pub, over a bag of chips whilst huddled in a shop doorway sheltering from a storm coming off the Irish sea.
One such musing occurred when Infocom, the company famous for text-adventure games such as Zork and Leather Goddesses of Phobos, announced they were launching a database product called 'Cornerstone.' Cue Jimmy and Mick in the pub writing a spoof review of said product. I can't remember the entire article we came up with - it's been 25 years, after all - but one line stuck in my head:
"After using the product for several few minutes, it became apparent that Infocom have not entirely eschewed their adventure game roots. For example, when I tried to delete a record I was presented with the message: 'The drive-head swings and misses. Try again?'"
Great stuff. Why we're not working for the London Times as senior editors right now is a source of never-ending puzzlement to us both.
Another idea we had was to introduce a new keyword into C; a replacement for
if( ! <boolean expression>)
{
// Do something
}
... in the form:
despite( <boolean expression>)
{
// Do something.
}
Hilarity ensued.
Guido van Possum, Bjarne Soupspoon et al had nothing on us, I can tell you!
#114, Mike Synnott, Ireland, 22 August 2011. Reply to this.
Superb!
#115, David Garrido C., Chile, 22 August 2011. Reply to this.
me too make same mistake type pound sign instead of dollor ...
i request not to bring in other dielects ...
prorammers from asia would not efford taking IELTS and TOEFL before appearing as programmer.
#116, Umema Hani, Pakistan, 22 August 2011. Reply to this.
Great article! I would have said "LOL" but I think It would be better not to. :D
I would prefer the cryptic version of PHP (not the British version) for shortened typing (unless there is a free IDE that supports it, hehe).
#117, CoreAn_Crack3rZ, Philippines, 22 August 2011. Reply to this.
#13 Well said. Anyone who would like to see their original/native language words in a programming language should go and create their own programming language
#118, Erick, United States, 22 August 2011. Reply to this.
I do like that and i'm not british.
i use as a function name is_password_secure, you'd use is_pass
#119, Trinki, Spain, 22 August 2011. Reply to this.
Good one!
#120, Saurabh, India, 22 August 2011. Reply to this.
I'm glad to see these points being raise. It would serve our colonial cousins well to remind them that all the great leaps forward in information technology have been made by British subjects from Charles Babbage to Tim Berners Lee. I don't want to get too vitriolic about it but what exactly does America bring to the table apart from the mass production of VLSI and a load of over-bracketed scripting languages?
#121, Steve Gould, United Kingdom of Great Britain and Northern Ireland, 23 August 2011. Reply to this.
For far too long the Mother Country has left us poor antipodean colonials neglected, languishing in the backwash of American language tidal waves. Ere long have we manned the ramparts of our coastal defences awaiting the adroit masters of the mother tongue to mount a campaign to turn the tide on the rebellion against King Geroge that resulted in the world being deluged with $lopie $pelling and brain numbing dumbness. Let Britannia sale forth once more and rule the waves and quench the world's hunger for right protocols with BSCIIT and Boston tea! Sterling stuff.
#122, Paul, New Zealand, 23 August 2011. Reply to this.
#72 no doubt!
#123, ???-?? ??????? /Gan-Och Enkhbold/, Mongolia, 23 August 2011. Reply to this.
.... In Canada we use the British version of words like "Colour", apparently if he was developing PHP in Canada, he missed something.
#124, Aaron, Canada, 23 August 2011. Reply to this.
@Phil Barker, if you do you must post it for the world to see. A British version of PHP would be amazing!
#125, Patrick, United States, 23 August 2011. Reply to this.
Funny... can we expect more of this??
#126, Rahul, India, 23 August 2011. Reply to this.
This is fabulous!
#127, Vladimir Lojanica, Serbia, 23 August 2011. Reply to this.
I think you could also rename sleep and usleep as they are much to direct...
sleep
should be
please_have_a_nap(£seconds)
usleep should of course be
teatime(£milliseconds)
#128, Erlend, 23 August 2011. Reply to this.
"what about" seems very blunt as a replacement for "switch". How about "Whereas"
#129, JT, 23 August 2011. Reply to this.
The rules you have applied in the "Abbreviations" section must be applied in the "Spelling" section too.
imagecolorallocate() => image_colour_allocate()
#130, David Newcomb, United Kingdom, 23 August 2011. Reply to this.
#2
Using the hash symbol ('#' is not a pound sign... '£' is a pound sign) would be very wrong. Americans took it upon themselves to name the '#' "pound" so using it to replace the '£' would be as offensive and un-british as making a cup of tea in the microwave.
Don't forget that British-PHP should, every four years, switch to a 'Conservative' version where the 'upper' classes get extra benefits, the 'lower' classes get ignored and all 'public' things automatically get turned into 'private' things.
The error reporting should also have a dry sense of humour and wit - "I'm sorry, error code 404, can't find the page. Never mind though, could be worse... your Internet could be down. Go have a cup of tea while we fix it ta."
Replies: #139.
#131, Piku, England!, 23 August 2011. Reply to this.
#16
In English, the term "myriad" is most commonly used to refer to a large number of an unspecified size. In this way "myriad" can be used as either a noun or an adjective.[1] Thus both "there are myriad people outside" and "there is a myriad of people outside" are correct.[2]
#132, Jon, Australia, 23 August 2011. Reply to this.
This is simply BRILLIANT :)
#133, Gurudutt Verma, Norway, 23 August 2011. Reply to this.
This is cool. I think if we could have versions of these programming languages in local African languages, it will enhance development in African countries. Just like we were always told, "you think in your language". Arise o Africans, lets begin coding the way we think. :)
#134, David Ogunshola, Nigeria, 23 August 2011. Reply to this.
Very funny and creative... Great! ¬¬
#135, Bruno Roberto Gomes, Brazil, 23 August 2011. Reply to this.
Instead of "private" methods there should be "royal". Or confidential.
#136, nimdil, 23 August 2011. Reply to this.
Here, here old chap!
#137, Andy, Australia, 23 August 2011. Reply to this.
<?
//simple Hello World application
announce "alright fella?";
?>
#138, Patrick, 23 August 2011. Reply to this.
my_structured_query_language_but_much_better_and_a_bit_faster_connect() for mysqli_connect() ?
#139, Vincent, Belgium, 23 August 2011. Reply to this.
#130 --check #112. "#" _was_ an English pound (weight) sign!
#140, William the Bastard, 23 August 2011. Reply to this.
what about a west coast variant next.. :P
#141, moptim, Finland, 23 August 2011. Reply to this.
I want a BE php version!
#142, lucas kauffman, belgium, 23 August 2011. Reply to this.
great article, sometime I'm think everyone shall code like this...
find::needle("|")->in_haystack("9n89v8t|73498");
find::position_of("|")->in_haystack("9n89v8t|73498");
split::string('9$8/3#$%/^&*73/3534/235/4')->with("/");
#143, towfx, 23 August 2011. Reply to this.
Currently, as per PHP 5.3.7, the function name crypt() should be translated to
would_you_pass_me_the_salt_please(£unsalted_meal)
Otherwise, excellent. I chuckled.
#144, Chris, Germany, 23 August 2011. Reply to this.
#11 PHP does not stand for PersonalHomePage...
#145, Charles Thompson, United States, 23 August 2011. Reply to this.
#16 Re: Myriad
#61 Re: Connexion
Quotes from The Oxford Compact English Dictionary:
myriad 1. an idefinitely great number 2. ten thousand
[Definitely not 10.000, that is 10 in English; it would be 10 000 or 10,000]
connection (n also Bit. connexion)
Admittedly, I have never been a fan of The Oxford Compact English Dictionary, it uses the Oxford 'z' spellings, e.g. summarize when most of use use 's'.
Your humble servant
etc.
Replies: #146.
#146, jsc42, England, 23 August 2011. Reply to this.
#145 Terribly sorry old things. Slight bit of the old finger trouble.
As I am no doubt you have already realised,
connection (n also Bit. connexion)
should have been
connection (n also Brit. connexion)
Many apologise for any discombobulations (tee hee - a North American slang term) this may have caused to our more delicate readers.
Yours, as always,
etc etc
Replies: #147.
#147, jsc42, England, 23 August 2011. Reply to this.
#146 I say! What a terrible day I am having. 'Many apologise' should have been 'Many apologies'.
Toodle Pip and TTFN
#148, jsc42, England, 23 August 2011. Reply to this.
As others have noted, Canada does in fact use the "Queen's English".
Although we are so inundated with American culture (or lack thereof), and software installs trying to auto-correct us to US English, etc, that there tends to be a little blurring of the lines.
#149, Mark A, 23 August 2011. Reply to this.
Well, I started reading it as humour (word 'humour' is also shown to be with incorrect by my spellcheck and it instead suggests 'humor'). But on a serious note, I agree with you. I've been put off by the word 'die' in syntax many, many times. Similar words like hacking, cracking and whacking also feel slightly overrated and abusive. Why not 'trying out', 'funny try out' and 'awesome try out' instead?
Anyways good article.
#150, Swapnil Kharwadkar, India, 23 August 2011. Reply to this.
Now this is great, programmers, humour :)
#151, Ramon Fincken, NL, 23 August 2011. Reply to this.
Exceptions follow the principle of it being 'easier to ask forgiveness than permission' (although I realise that is more from Python than PHP).
This phrase is simply not true for a polite English gentleman programmer.
Therefore we ought to specify what we should do in the exceptional condition before we tell the interpreter what it is we want to do, just so the interpreter doesn't think it is being put upon, and to let it know that we have a well reasoned alternative course of action.
Perhaps:
i_crave_a_boon_but_if_the_problem_of(Exception £e) {
arises {
apologise_to("Aunt Dahlia");
} otherwise_would_you_be_so_kind_as_to {
distract("Spode");
steal("cow creamer");
}
}
#152, Richard Ward, England, 23 August 2011. Reply to this.
Delightfully drool, Old Sport! Why, it veritably put rather a smile on my otherwise remarkably stiff upper lip.
Jolly good!
#153, Andy, 23 August 2011. Reply to this.
Typical for us brits to endlessly discuss people's poor use of language rather than the subject itself. That premise alone would cause so many rewrites it would be impractical. Also, English is a mix of "myriads" of other languages that to argue over the origin of words is to highlight that it isn't English at all (yes - I have Greek relatives)!!
Entertaining article. My t'pence worth to chip in would be to change "Exception £e" to "Apology £e". E.g. LeavesOnTheLineApology (input/output exceptions), ThamesWaterApology (buffer under/overflows). Equally, the other type of exception "Error" could also be replaced with "Ballsup", e.g. GrammaticalBallsup (syntax error), NowtFromNowtBallsup (division by zero error).
#154, FokeyJoe, UK, 23 August 2011. Reply to this.
That's a very funny article!
About the alternative switch statement: PHP also supports
switch($variable):
case 0:
...
break;
endswitch;
The "endswitch" might be inspiring for this article :-)
#155, Laurens Ramandt, Belgium, 23 August 2011. Reply to this.
In its early days AppleScript had several language dialects (including a 'programming' dialect), and you could switch between them freely. It wasn't simply changing keywords, it would also change word order to match the language. For example in English you might say "the first character of every word whose style is bold" and switching it to French would result in "le premier caractère de tous les mots dont style est gras".
Originally it supported English, French, Japanese and Italian, but all but English and the whole pluggable language thing was dropped pretty quickly.
It also supported using 'proper' symbols like ? and ÷.
#156, Marcus Bointon, France, 23 August 2011. Reply to this.
I like that very much though I must say I am an American not British Designer/Developer! HAHA
#157, James Fletcher, United States, 23 August 2011. Reply to this.
This is absolutely brilliant, but could I suggest a couple of minor changes
I think switch / case might be slightly better expressed as
consider (£variable) {
if_its £possibility;
// CODE
If_its £possibility;
// CODE
otherwise:
// CODE
}
and if I could suggest try / catch might be better expressed
preferably {
// CODE
} but_if_thats_not_possible (Exception £e) {
// CODE
}
Still.... sheer genius!
#158, Robert Johnson, England, 24 August 2011. Reply to this.
#67
Clearly it should not be "listed", but "entailed".
#159, Brent Royal-Gordon, United States, 24 August 2011. Reply to this.
This would be fantastic.
Just as web has Web 2.0 etc..
This could be called "PHP 2.0 - The British Empire Strikes Back"
#160, Djekl, 24 August 2011. Reply to this.
I just lol'd. :D
#161, Mefi, Hungary, 24 August 2011. Reply to this.
Indeed, #26: 'serialize' is the Queen's English. 'Serialise' is a hypercorrection: because Americans write so many words with a 'z' that are originally spelled with an 's', some Britons assume that most any word with a 'z' should be more correct with an 's'. Horrid example: 'civilisation'. As far as my collection of dictionaries is any proof to go by, this spelling only became prominent in the eighties of the previous century and looks, to my utter dismay, to have gained a solid footing by now. But not in my house.
Other than that, jolly good show :-)
#162, R@, The Netherlands, 24 August 2011. Reply to this.
I think you missed the alternative to throwing an exception... raising an objection?
#163, JDizzle, England, 24 August 2011. Reply to this.
Goodness me, you sir have stolen my idea! Gurrr, fisticuffs! Now bring us the code!
#164, Dan Dart, England. good old England., 24 August 2011. Reply to this.
Amazing. A joke about PHP AND British English that is also fun :) Sending to all my programming friends both sides of the pond :)
I am guilty of using colour instead of color when programming though ;)
#165, Irune, UK, 24 August 2011. Reply to this.
ASCII is a worthless American standard, BS 4730 (aka. ISO/IEC 646-GB) is much more appropriate, and includes important symbols, such as the pound sign.
#166, pp, 24 August 2011. Reply to this.
Very, very funny.
Might I suggest that "catch(...)" be translated "awfully_sorry_old_chap(...)"
#167, Paul Henshaw, Italy, 24 August 2011. Reply to this.
I nearly busted a gut laughing; the "would you mind? actually i do mind" part was brilliant. I'm only a fledgling coder so it's nice to know the more experienced are willing to satirise the genre with gusto.
Cheerio!
#168, Zeke, England (but of course, old chum), 24 August 2011. Reply to this.
hahah so much win
#169, guiii, 24 August 2011. Reply to this.
Hello, World (formerly known as Empire),
I'd like to suggest some more British manner, too.
Perhaps you will find this usefull. Otherwise, accept my apology, because I'm from the continent.
Here is my proposal:
We need some rephrasing of the boolean states true and false.
I would be very pleased, if we could use positive and definitely not instead.
I must depart now, since I already missed the five o'clock tea.
#170, HerrSerker, Germany, 24 August 2011. Reply to this.
As per the "otherwise" bit, you might find XSLT uses that already indeed.
<xsl:choose>
<xsl:when test="sometest">do stuff</xsl:when>
<xsl:otherwise>do other stuff</xsl:otherwise>
</xsl:choose>
#171, Tommaso Lanza, UK, 24 August 2011. Reply to this.
PHP Error messages could definitely be more British. Suggest:
"PHP Parse Error" -> "I'm not quite sure what you're trying to say."
"Fatal Error" -> "Things are getting a bit sticky down here old chap. Arrrghh."
#172, Hamish Atkinson, UK, 24 August 2011. Reply to this.
think that "Exception" is rather harsh on my sensitive ears. I suggest:
1. would_you_mind {
2. // Code here
3. } actually_i_do_mind (perhaps_you_did_not_expect_this_to_happen £e) {
4. // Politely move on
5. cheerio('Message');
6. }
#173, Nigel Horne, UK, 24 August 2011. Reply to this.
The first time I've ever actually "laughed out loud" in a long time.
// Politely moving on
cheerio('Message');
#174, Adam D, UK, 24 August 2011. Reply to this.
Well may you scoff - I had young children familiarising themselves with rubbers while my US counterparts had to make do with erasers - LOGO computer language.
#175, Alan Rick, Germany, 24 August 2011. Reply to this.
#18 bah. you must mean pathologically_eclectic_ rubbish_lister_regular_expression_match()
#176, Tom Sella, 24 August 2011. Reply to this.
Great, but missing a golden opportunity...
notwithstanding ( <boolean expression>)
{
// Do something.
}
#177, John M, UK, 25 August 2011. Reply to this.
I should point out that
a. Any explanation for a suggested expansion of "preg_match" which involves expanding "perl" into something more than "perl" is incorrect, perl is not an acronym, and was not designed to be one, and all acronyms seen are actually generated post-factor.
b. perl_regular_expression_match is indeed, grossly incorrect. That would imply it actually uses Perl, and that the regular expressions are "Perl Regular Expressions", which they are not.
In actuality, PHP uses a library known as PCRE, to do its work behind preg_match, so preg_match is short for
PCRE regular expression match
which is a bit redundant, but, to take it further,
PCRE is: Perl Compatible Regular Expression
( And notedly, there is only a degree of compatibility, it is not complete )
so
perl_compatible_regular_expression_match()
Would be in my mind, the most correct and succinct name for this function.
perl_compatible_regular_expression_regular_expression_match() would probably be more "Logically correct", but the grammar of that is horrid.
#178, Kent Fredric, New Zealand, 25 August 2011. Reply to this.
To bring it more up to date with modern British, the
"would_you_mind{..}
actually_i_do_mind (Exception £e) {...}"
should be updated to:
"would_you_mind{...}
More_than_my_jobs_worth_mate (Exception £e){...}"
#179, Hugh, NL, 25 August 2011. Reply to this.
Oh, and the BPHP version would have the most advanced and strict queueing system of any other language.
#180, Hugh, NL, 25 August 2011. Reply to this.
#30 you leak oil by delegating it to an American component ;)
#181, samhogy, 25 August 2011. Reply to this.
This article just goes to show that England is just as ignorant of foreign bodies or even their own domain as America is. We Canadians use our own blend of English that is the same as UK English but with a few added words from the American version. Hit and miss.
#182, Greg, Ca-Na-Da, 25 August 2011. Reply to this.
Hilarious article. I read it with a huge smile. The next thing I would point my finger at is the ASCII character set. It lacks character, that's for sure. It should become a dialect of the BESCII (British Empirical etc).
#183, Sander Lelieveld, Netherlands, 25 August 2011. Reply to this.
art_thou ( £versatile )
{
verily "possibility" :
proclaim "i am a possibility";
flee;
verily "alternative possibility" :
proclaim "i am an alternative possibility";
flee;
unheeded :
proclaim "this eventuality was unforeseen";
flee;
}
#184, William, Ye olde Blighty, 25 August 2011. Reply to this.
Brilliant! If nothing else it'll make me laugh out randomly when I do something stupid and PHP spits out an old english phrased error!
#185, Courtney, UK, 25 August 2011. Reply to this.
#11
That would be <?PreHypertextProcessor...
#186, Cynagen, 25 August 2011. Reply to this.
PHP stands for "PHP: Hypertext Preprocessor". Expanding this recursive acronym would be painful :)
#187, DaveChild, United Kingdom, 25 August 2011. Reply to this.
May I suggest:
extends -> appendage_of
working_class Bycicle appendage_of Vehicle {}
I'd also use 'heirloom' properties instead of 'hereditary'
#188, alex, 25 August 2011. Reply to this.
Actually the "Abbreviations" seem a step forward :)
#189, Isameru, 25 August 2011. Reply to this.
Surely, following from the "school system nomenclature" 'private' should become 'public'. When did you ever hear of a private school boy? Exactly.
Also, "nouveau Empire"? We're French now, are we?
Replies: #191.
#190, Patch, UK, 25 August 2011. Reply to this.
I say, good show old bean. Indeed 'twas spiffing of you to make this language of scripting more accessible to the Brits. Absolutely top hole.
#191, Dexter, England, 26 August 2011. Reply to this.
#189 Actually, a public school is a private one that used the Common Entrance Exam - it's perfectly possible to have a private school that has its own entry requirements (in fact, I went to one)!
#192, dh, 26 August 2011. Reply to this.
"Nouveau Empire" is not French. We would say "Nouvel Empire".
But anyway, the New Empire is so small compared to the old one... (Sorry to my British friends...)
#193, Benoist, France, 26 August 2011. Reply to this.
I just had to comment, this made me laugh out loud, I even sent it to a dev team down in Brasil who also laughed out loud. Just fantastic.
We so need a complied version of this.
#194, Darren Cornwell, The Province of her Royal Majesty Queen Elizabeth the 2nd., 26 August 2011. Reply to this.
Excellent read. Got a few laughs.
#195, Scott Straughan, 26 August 2011. Reply to this.
Most people probably associate "connexion" with the Methodist church, these days
http://en.wikipedia.org/wiki/Connexion_(religion)
#196, Michel S., Germany, 26 August 2011. Reply to this.
Here's a translator: http://www.vgabor.com/imperialPHP/
#197, vgabor, 26 August 2011. Reply to this.
I thought one myriad = 10,000.
#198, Jim Swanson, usa, 26 August 2011. Reply to this.
In the perl code that runs our control panel we have,
sub get_connexions_by_endpoint($$$) {
....
so connexion certainly is used in real code by English programmers. We also wrote bots for our internal irc channel that talk about the weather to improve our productivity so we don't have to do it.
#199, Peter Stevens, England, 26 August 2011. Reply to this.
Wow - you singlehandedly ostracised your Canadian compatriots while also insulting the 'mericans. Hey - we're you're biggest "proper English" boosters over here.. send us dictionaries not misinformation. lol
#200, TM, Canada State, USA, 26 August 2011. Reply to this.
LOL
'Error: xxx' would be:
'I beg your pardon: xxx'
and so on.
Nice, very nice.
#201, Peter Laman, Belgium, 27 August 2011. Reply to this.
I like the British version (BpHP) more than the standard one.
It is so much nicer to read and the English humor is great.
#202, John, The Netherlands, 27 August 2011. Reply to this.
I had a good laugh reading this. cheerio() is so much funnier then die()!
#203, Eduardo, Portugal, 27 August 2011. Reply to this.
Hmmm, There's one missing, the elseif...
perchance(statement){
//do stuff
}
well_maybe_this_then(statement){
//do stuff
}
otherwise{
//do stuff
}
#204, simon, Netherlands, 27 August 2011. Reply to this.
#32
I don't think you're correct about "colour", for two reasons:
1) Until the Norman conquest, there was no "color" to be influenced by the French spelling. The Anglo-Saxons spoke essentially a dialect of German, so the word would have been something related to "farbe".
The C13 Old French "colour" gave us the English "colour"- the "color" version is in fact Latin. So a few monks, scribes and well-educated people might have recognised the Latin word, but it would have been so much gabble to the bulk of the populace.
http://dictionary.reference.com/browse/colour
2) In any event, there was little regularity in spelling until dictionaries started to be published, so the concept of any regular spelling before that time is void.
#205, Marc, UK, 27 August 2011. Reply to this.
Amusing, i like the try catch alternative. Bloody marvelous!! Lol
#206, Sanjeev shrestha, Nepal, 27 August 2011. Reply to this.
<?tally-ho-php
cheerio?>
#207, Shawn, Canada, 27 August 2011. Reply to this.
would_you_mind {
// Code here
} actually_i_do_mind (Exception £e) {
// Politely move on
cheerio('Message');
}
Personally I think that word "cheerio" lacks a bit of dignity in case of catching exceptions. I would've replaced it with the word "godspeed" instead.
#208, Mika Rautio, 28 August 2011. Reply to this.
I'm seriously thinking about implementing this.
#209, Thomas Jepp, United Kingdom, 28 August 2011. Reply to this.
??????
{????;}
??
{??????;}
if (condition)
{ return true; }
else
{ return false; }
#210, Tsui, 30 August 2011. Reply to this.
Would this suffice?
??(??);
Flawless concept! Top hole!
#211, Clive Townsend, UK, 30 August 2011. Reply to this.
laugh_out_loud();
#212, Will Warren, Canada (Originally England!!), 30 August 2011. Reply to this.
but what if it had originated in Essex ?
"if" = "oi give this a go mate"
"Hello World" = "watch ya"
:-D
#213, Karl H, Essex, England, 30 August 2011. Reply to this.
I am most disconcerted by this speak of PHP and whatnot. Now then, was PHP written in 19th-century U.S English - just like everything else designed via a keyboard? This appears to suggest yes, and that it should in point-of-fact be 19th-century British English.
#214, Ian, United Kingdom, 31 August 2011. Reply to this.
Good day fellow scribes,
The rot set in with that blasted Berners-Lee chappie. Since HTML version 1 one has been somewhat irked by the unavoidable Americanisms such as "color" and "center". Thank goodness that so many machine languages have pre-processors!
If one might make so bold, perhaps the following would be an acceptable alternative to the unspeakable rudeness of "Hello World":
<?php
proclaim 'Your Majesty, Lords, Ladies and Gentlemen';
?>
Your obedient servant,
P.
#215, Plantagenet, England, 31 August 2011. Reply to this.
but using the # is using the pound sign, or at least it is in America!! (yup those language breakers did it again and called hash sign pound sign)
great read!
#216, nick, UK, 31 August 2011. Reply to this.
very good! perhaps "echo" could be "i_say"!
#217, Matt, UK, 1 September 2011. Reply to this.
#16
Both uses are correct, as it is both a noun and an adjective.
I do not know whether the second use was introduced because so many people mis-used it, that is possible, but in the present day both uses are correct.
#218, Fallen, 2 September 2011. Reply to this.
The long-ass variable names remind me of Objective-C. That HAS to be a step up, right??
#219, Brade, USA, 2 September 2011. Reply to this.
Nice post; really enjoyed it. :D
#220, Abdulfatai Popoola, 2 September 2011. Reply to this.
What about the very basic: true and false, wouldn't positive and negative be nicer?
Very nice article indeed, great job!
#221, moorscode, nl, 3 September 2011. Reply to this.
sleep(100); -> tea_time(100);
#222, Walter, Austria, 6 September 2011. Reply to this.
=> perhaps biggest advance in c.s. since ram <=
but I've been long under the mis-impression they use stones for computations at oxford.
#223, Marc Bellario, USA, 6 September 2011. Reply to this.
It's clear to you, that then the frensh empire (oops did I say that ?) would also have it's own code-dialect.
And we in germany also want our motherlanguage coded ...
But I think the idea isn't that bad. Not probably php but any other simple learning language or maybe a php learning version for schoolkids and students where they can start learning codeing with words and meanings they unserstand. It should be possible to add aliases to functions. Isn't that great ? With the age of 13 or 14 we've started to learn programming in school with a really stupid language called logo. That was a crap.I've programmed turbo pascal within this age and it was extremly frustrating writing script to control a point on the screen and get this marked by the teacher.
#224, SunnyS, Germany, 7 September 2011. Reply to this.
Great.. great! just great! Hahaha! I tot it was boring at first, but I actually enjoyed reading it!
#225, Mummy Ninja, Philippines, 9 September 2011. Reply to this.
is_an_integer()
#226, lukens, UK, 9 September 2011. Reply to this.
Rather than
cheerio('Message');
how about
PipPip('Message);
or is that far too informal? it also links to PDP's PIP program which (via wikipedia) was called 'Anything, Lord to Anything, Lord' (ATLATL) - you weren't responsible for that too?
#227, robert m, uk, 10 September 2011. Reply to this.
#7 never_mind should stand for finally
#228, makc, 13 September 2011. Reply to this.
>He opted instead, being in Canada at the time, for the local tongue. No, not French - that bastard dialect of the Queen's English commonly referred to as "US English".
This is wrong - Canada officially uses standard English (same as in the UK), although some Americanisms have crept in.
#229, Nick, 14 September 2011. Reply to this.
Good point.. Shake_spear_e shoud be fired.
On same bonfire as Jan Hus.
#230, Honza, Czech, 15 September 2011. Reply to this.
Wrong. The dollar sign (as currency) is actually written both with one dash and two. To be more correct, the one used most often is actually with only one dash, but both have different origins and are used.
It also isn't used to denote a STRING variable in programming. It is only used in very old versions of the BASIC language in which it is indeed used for strings. In PHP for example the dollar sign is used to denote a variable. In Delphi, it's for hexadecimal values and in JS/jQuery, it's used for utility classes.
So if you'd know programming, you'd know there is no absolute definition for the dollar sign in programming.
#231, Seb, Belgium, 19 September 2011. Reply to this.
Instead of
would_you_mind {
// Code here
} actually_i_do_mind (Exception £e) {
// Politely move on
cheerio('Message');
}
It should instead be
would_you_mind {
// Code here
} bad_form_old_chap (Exception £e) {
// Politely move on
cheerio('Message');
}
That seems much more fitting
#232, James, New Zealand, 20 September 2011. Reply to this.
I'm a brit. This is very offensive. That's like saying americans should write things like this
<?php
publicannouncement 'Hello my fellow americans.';
?>
#233, Tom, 27 September 2011. Reply to this.
Casual Racisim, love it!
#234, Brian, 30 September 2011. Reply to this.
#235 Tom: Offensive? Not in the slightest.
#236 Brian: Racism? Where?
#235, DaveChild, United Kingdom, 30 September 2011. Reply to this.
Would you mind is my favorite :D and the £ really is a slap in the face
#236, --, Italy, 6 October 2011. Reply to this.
Pretty damn funny.
#237, Geoff, France, 7 October 2011. Reply to this.
€variable_name
'nuff said.
#238, Darius Kruythoff, Netherands, 10 October 2011. Reply to this.
Bloody amazing mate!
#239, Dominik, UK/Czech Republic, 10 October 2011. Reply to this.
excellent! had a good laugh reading this. shared with all colleagues. My favourites are the 'would_you_mind' and the 'splendid' breaks.
#240, Peter Perhac, Slovakia, 12 October 2011. Reply to this.
I'm going to look into recompiling PHP into PHP BE (British Edition) immediately!!
#241, Amber Crumer, 14 October 2011. Reply to this.
Hilarious!
You should add a +1 button to your blog!
#242, John Nikolakis, Greece, 14 October 2011. Reply to this.
How about:
include("connection.php")
->
i_fancy_some("connexion.php")
#243, Wojciech Jurczyk, Germany, 17 October 2011. Reply to this.
Maybe to this: http://en.wikipedia.org/wiki/British_Empire#Legacy
#244, Matias, Argentina, 30 October 2011. Reply to this.
Hold on there, sparky. PHP stands for "PHP: Hypertext Preprocessor". Expanding that would, obviously, result in an infinite loop.
#245, DampeS8N, USA, 31 October 2011. Reply to this.
Don't you mean PHP Hypertext Pre-processor?...but since the first P is a recursive acronym in PHP, the British version would be called PHP PHP PHP PHP PHP....
#246, somePHPguy, England, 2 November 2011. Reply to this.
ahahahah, really really funny, well done!
#247, --, 26 November 2011. Reply to this.
wow ! why not use body language for coding ? that is more suitable for all the people ~ ha ~ :)
#248, Naitiz, China, 2 December 2011. Reply to this.
LOL, so funny!
and i know there is a smiliar one which is called "E language" (http://www.dywt.com.cn/) which is a program language but based on Chinese, emm, it's also a joke...
#249, iridiumcao, 6 December 2011. Reply to this.
Don't have time to read all 248 comments, if any one suggest this one:
<begin_Interrogation_Hypertext_Preprocessor
end_interrogation>
Sorry for the bad one : - )
#250, Anton Rodin, Spain, 7 December 2011. Reply to this.
LIFO or FIFO stacks would be "AYNAY". "After you" "No, after you".
If you want to go seriously traditional, then maybe there should also be some new primitives to take into account imperial measures. Never mind binary, decimal, hex, and octal: British pre-decimal coinage could work in bases 2,3,4,5,6,7,8,9,10, and 12!
#251, Wobbler, US via AU via UK, 7 December 2011. Reply to this.
Funny :)
#252, Sandeep P, 20 December 2011. Reply to this.
I would prefer to see:
perchance (£variable) {
// what what
} rather {
// I say
}
#253, Pid, Blighty, 6 January 2012. Reply to this.
echo -> emit
Replies: #268.
#254, Jan, D, 6 January 2012. Reply to this.
If it were truly British every command would be preceded by please() and be followed by ta_very_much().
#255, Dan P, USA, 6 January 2012. Reply to this.
£ is not in ASCII: ASCII is a seven-bit code.
But then, given what the A in ASCII stands for anyway, I fail to see why this should make a difference.
#256, Daniel Barlow, Her Majesty's United Kingdom of Great Britain and Northern Ireland, 6 January 2012. Reply to this.
How about
<?HypertextPreprocessor
announce 'Good morrow, fellow subjects of the Crown.';
?>
#257, Justin, 7 January 2012. Reply to this.
#65
Connexion *is* a word- even US dictionaries show it.
http://dictionary.reference.com/browse/connexion
http://www.thefreedictionary.com/connexion
It's largely gone out of use in favour of the "connection" spelling, but it's a valid word. Try it in Scrabble :)
#258, Marc, UK, 2 February 2012. Reply to this.
THIS IS SO FUNNY IM GEEKING ALL OVER MY PANTS
#259, loga, 14 February 2012. Reply to this.
what_about ... perhaps construction is pure gold, I fell in love with it the moment I saw it.
#260, Rei Ayanami, Japan, 14 February 2012. Reply to this.
Very good translation chaps!
The manners were my favourite although in true Brit style any coding would be far to worried about manners to actually get the point/instruction across.
Shared with fellow geeks :)
#261, Sadie, Good Old Britannia, 15 February 2012. Reply to this.
<?php
echo 'Hello World!';
?>
Should surely read....
<?php
echo 'Hello everybody. Did you know that in the USA they play a minority sport and have the temerity to call it a World Series!';
?>
#262, Neil Connolly, United Kingdom, 22 February 2012. Reply to this.
#11 You sir, shall be ashamed of your ( common ) but unforgivable misconception about the meaning of this beautiful recursive accronym which is, in the present case, PHP.
I would not be so uptight as to not educate you with knowledge, so here we go : PHP Hypertext Preprocessor.
Yours faithfully.
#263, sebastien, france, 22 February 2012. Reply to this.
That's actually not true. Myriad is both an adjective and a noun, so both cases are correct.
#264, Matt Davies, UK, 22 February 2012. Reply to this.
So many instances of this rudely curt commentary; "//Code here".
"Code" what "here"? Is it a command? If so it's a frightfully rude one, no "please", no "if you'd be a dear", just an uninformative, two-letter missive, "Code here".
It's downright common is what it is
#265, John, 22 February 2012. Reply to this.
#43 If it were Scottish, everything would be inherited from the deep_fried() class
#266, Boydlee Pollentine, 23 February 2012. Reply to this.
All those _init() functions would have to become _innit().
<?PHP Hypertext Preprocessor
// create a new Client URL Library resource
£ch = Client_URL_Library_innit();
// ...
?>
#267, John, UK, 23 February 2012. Reply to this.
"our" syntax, whahahahaaa... if you take something and shamelessly distort, it doesn't become yours :)
#268, W, LT, 23 February 2012. Reply to this.
#253 That sounds like something unsavoury that one must never do in public
#269, AngusP, United Kingdom, 23 February 2012. Reply to this.
I thought that try and catch could be:
hypothesise {
// Code hither
} discuss (Exception) {
// Alternate notion
}
#270, AngusP, United Kingdom, 23 February 2012. Reply to this.
#13 someone's got to :P I've not seen you lot do it.
#271, Merlyn, UK, 23 February 2012. Reply to this.
Amusing article, but worth noting the alias is_integer already exists
#272, Martin, UK, 24 February 2012. Reply to this.
I want this so badly!!
#273, Ben Holland, UK, 27 February 2012. Reply to this.
Quintessentially British. This is a current reference.
#274, Alistair, 28 February 2012. Reply to this.
This was the best thing I've seen all day. Got some great laughs.
echo 'cheerio good sir!';
#275, Mike L, USA, 28 February 2012. Reply to this.
I really liked functions without abreviations
#276, Tobias Taurian, Brasil, 1 March 2012. Reply to this.
Hahaha!
And finally after try..catch could be 'nevertheless'
#277, Rodrigo, Brasil, 1 March 2012. Reply to this.
#12
No it isn't, it is a PCRE matcher PCRE != Perl Regexps =)
#278, Lowe, SE, 1 March 2012. Reply to this.
I can' t stop laughing, this is quite good.
#279, Amet, 1 March 2012. Reply to this.
Excellent!
Would you mind putting brackets after the following please:
new Republic;
nouveau Empire;
Cheerio,
Shep
#280, Alexander Shepherd, United Kingdom, 2 March 2012. Reply to this.
This is brilliant! Couldn't stop laughing at it. :)
#281, Dale, United Kingdom, 3 March 2012. Reply to this.
I was loving this - always been annoyed by the Americanisation, until that is, I noticed you spelled Honourable wrong...
"The Right Honorable" ...
#282, Grido, England, 3 March 2012. Reply to this.
Splendid translation, however I suggest we replace the ";" with a polite ", thanks_in_advance." and proper punctuation is also very important. So we get for example:
<?php
Announce 'Good morrow, fellow subjects of the Crown.', thanks_in_advance.
?>
Instead of:
<?php
announce 'Good morrow, fellow subjects of the Crown.';
?>
Cheerio
#283, Sam, 3 March 2012. Reply to this.
> preg_match() should actually expand to
> perl_regular_expression_match
Note that the word "perl" itself also deserves expansion. So better try
practical_extraction_and_raporting_language_regular_expression_match
(well, unless you prefer
pathologically_eclectic_rubbish_lister_regular_expression_match)
#284, Mekk, 6 March 2012. Reply to this.
I don't actually use PHP, but this is brilliant!
A minor point, but mktime needs a further correction.
mktime($hour,$minute,$second,$day,$month,$year ,$daylightSavingTime)
should be
mktime($hour,$minute,$second,$day,$month,$year ,$summerTime) - unless of course some of these foreigners can explain how they obtain more hours of daylight in a day rather than simply re-labelling them?
More seriously, there has been much discussion above of whether certain areas of syntax are too "working class", or need updating for the modern, sadly slovenly, day. This to my mind is missing the point. The original article quite correctly points out that the original "public"/"private"/"protected" options need renaming, but fails to realise that thereafter, syntax should depend on context.
Consider the
actually_i_do_mind (Exception £e)
versus
More_than_my_jobs_worth_mate (Exception £e)
suggestion. Clearly, the latter would be used when the variables in question are "state" (formerly "public") and the former when they are "private" or "hereditary". Good heavens, if the appropriate dialect for each class isn't used, how is one to know who's who? Those public variables have to know their place!
#285, jane, British!, 8 March 2012. Reply to this.
'Good morrow, fellow subjects of the Crown'. Bloody brilliant :) I'm going to do this from now on.
#286, Karen, USA and England :), 10 March 2012. Reply to this.
I love the idea, minor change to add your new verbage to the API. Would be a good idea to include a King's English-to-'those bastard Yanks' compiler though; so as to allow for minified script files. While the added eloquence certainly makes the code more palatable for debugging and updates, it would add weight to web pages at load time.
A one-touch 'Bard to Yank-Bastardized' save-as option would allow (you effete snobs, trapped by water, fog and archaic notions of empire to maintain) a high level of literacy while coding, but still spare the Intel chip-sets that would otherwise have to run the extra drivel. Remember, more time waiting for pages to load is just more time away from the pub.
#287, maxw3st, USA, 10 March 2012. Reply to this.
Bloody hilarious!
BTW, the last what_about's splendid shouldn't be there (and of course the last switch's break too).
#288, Stefano.io, Italy, 10 March 2012. Reply to this.
Regarding the preg_match(), I'd opt for renaming the term 'Regular Expression' entirely, seeing there is nothing regular or common about it:
"awkwardly_phrased_statement"
or
"i_can_not_believe_it_is_not_swearing"
or
"it_is_not_swearing_you_git"
or
"well_it_bloody_well_looks_like_swearing"
or
"well_your_face_resembles_a_giant_turd"
or
"there_is_no_need_to_get_rude_you_pompous_arse"
#289, Peter van Westen, NoNumber, 10 March 2012. Reply to this.
Brilliant article and all great suggestions except for one. You missed the opportunity with "die" to celebrate one of our cultural icons, Monty Python.
It should of course be renamed, "cease_to_be".
#290, Scott, Englandshire, 10 March 2012. Reply to this.
lol :)))
#291, Blaze, 14 March 2012. Reply to this.
So fun to read this article :)) I love so-called British PHP version
#292, kevin, 16 March 2012. Reply to this.
Politeness first. $object->get_attr(); must change into
$object->I_say_old_chap_would_you_be_so_kind_as_to_fetch_me_the_attr_than_you_very_much_ineedy();
#293, Wojtek, Poland, 29 March 2012. Reply to this.
Words ending in -ize (e.g. serialize) are correct British English; this is the spelling used by Oxford University Press, who produces the OED.
#294, Mark Howells-Mead, Switzerland (originally UK), 4 April 2012. Reply to this.
I'm going to read everything in an British accent for the rest of the night thanks to you.
#295, Josh, 5 April 2012. Reply to this.
That isn't an American usage, though. That's wrong in both cases.
#296, Bryan, 19 April 2012. Reply to this.
Well, then British will like Objective-C (applicationDidFinishLaunching, didRegisterForRemoteNotificationsWithDeviceToken, didFailToRegisterForRemoteNotificationsWithError, ...)
#297, Lotus, Italy, 21 April 2012. Reply to this.
i just cant stop laughing at rait now :)))
#298, ded, Indonesia, 23 April 2012. Reply to this.
hahha .. that was hilarious ... i wonder what if the HTML supports british.. :D
#299, deepak sharma, INDIA, 25 April 2012. Reply to this.
preg_Match();
The Australian (& Red-Neck) version = You_Knocked_her_up?_So_did_I()
Where Knocked up = Pregnant.
Will the UK version have a Jordie variant. They are the masters of abbreviation. They don't even bother to say "the".
#300, David Lean, Australia, 27 April 2012. Reply to this.
#99
Ought that not to be:
"Perchance the link doth work for thee.
"Alas, it worketh not for me"?
#301, PG, USA, 27 April 2012. Reply to this.
Fantastic post! I think I'll try a Luxembourgish version, might be funny too ;)
#302, Alain Fontaine, Luxembourg, 2 May 2012. Reply to this.
I think I can understand better this way.. :) thank you for the post :D
#303, Keshab Raj, Nepal, 16 May 2012. Reply to this.
Dave, Just curious, how some users in your comment got avatar? do you have any user registration around the web?
regarding php were british :) Lovely fun.. thankx
Replies: #306.
#304, Rajk, Denmark, 16 May 2012. Reply to this.
Don't forget that the meaning of single quotation marks (') and double quotation marks (") are opposite between the U.S. and U.K.
#305, Dagan Henderson, United States, 31 May 2012. Reply to this.
You missed the finally block in the try - catch :)
Would love to see what would go there.
#306, Ravi, India, 19 June 2012. Reply to this.
#303
Create a profile on gravatar.com, use the same email here and your profile picture would be automatically linked!
Cheers!
#307, Rajesh Soni, 21 June 2012. Reply to this.
Here is a little "implementation" of your syntax in Bash. Might not be as funny as your proposal, as I'm not a native English speaker.
http://codepad.org/v8mGfIUJ
#308, lenormf, 21 June 2012. Reply to this.
Well, if you really *must* have it....
http://links.parasane.net/eea4
Happy Friday.
Replies: #312.
#309, Dan Brown, USA, 23 June 2012. Reply to this.
ROFL. Brilliant. I love it.
#310, Curtis Maurand, US, 25 June 2012. Reply to this.
Fantastic!!!
#311, Anton, UK, 26 June 2012. Reply to this.
Nice one - I'm particularly fond of:
on_the_off_chance:
splendid;
}
#312, Paul, uk, 26 June 2012. Reply to this.
Ha-ha. The best part is that the download in comment #308 actually does what this article requested. That's hilarious.
#313, Carlos Caliente, United States of Earth, 26 June 2012. Reply to this.
Haha, your post made me laugh :-)
But I do think US English is better in PHP, because it is shorter, and lets be honest: we are lazy, so we want to type less to make something :-p
#314, Guido, 12 July 2012. Reply to this.
Haha I love this....especially the "upper_class" part
#315, Cody, US, Florida, 21 July 2012. Reply to this.
Haha, this is cool ;p Nice work man!
#316, Shrimp, 1 August 2012. Reply to this.
Or BESCII
#317, Mike, Alba, 1 August 2012. Reply to this.
super funny!
#318, littleguy, 2 August 2012. Reply to this.
Fantastic !!!
Funny as hell.
As much fun I have watching comments that didn't get it. :)
#319, Arek Bal, Poland, 11 August 2012. Reply to this.
With respect to "connexion": the first place I remember encountering it was in the works of J.R.R. Tolkien, who was Professor of Anglo-Saxon at some British cow college*, and also worked on some dictionary or other produced by that school.
Amazon's "search inside the book" function turns it up four times in The Fellowship of the Ring.
*Oxen are cattle, right?
#320, Tony, United States, 18 August 2012. Reply to this.
I'm really glad I read this article, highly amusing and if only £ was ASCII. Oh well, on_the_off_chance someone compiles this It would indeed be splendid!
#321, DB, England, 20 August 2012. Reply to this.
DB: it is. one of the comments above has the code mate!!!
#322, david fairchild, scotland, 21 August 2012. Reply to this.
#2 Of course, the # symbol is solely reserved for the children to play Noughts and Crosses (not tic-tac-toe) and should not be used to inform these new fangled Babbagers that something is a variable, the sterling symbol will always be equal to £1 everywhere within the Empire and the Dominions!
#323, Phin, UK, 21 August 2012. Reply to this.
Hahaha awesome. Good stuff. Consider it shared!
#324, Steven van Vessum, Holland, 24 August 2012. Reply to this.
Sure... why not?
https://github.com/SeanJA/PHP-Proper-function-names
#325, Sean Sandy, Canada, 24 August 2012. Reply to this.
Seems to me that "splendid" would be more analogous to a "continue" statement. For a "break" statement, you'd want a word more like "scarper" (verb. Go, often hurriedly, to escape).
Great post!
#326, Ixalmida, USA, 24 August 2012. Reply to this.
You better be british, otherwise this is rude as fuck
#327, jhkg, 25 August 2012. Reply to this.
Loved this!
#328, Keith, United States, 25 August 2012. Reply to this.
nouveau is French, and connexion is a rarely used alternative to connection ...
#329, phalacee, Australia, 25 August 2012. Reply to this.
I love this post, good work with it!
Bloody funny.
#330, Andrew, UK, 19 September 2012. Reply to this.
Awesome post, thank you for kicking off the weekend with a giggle :)
#331, Matthew Cornish, United Kingdom, 28 September 2012. Reply to this.
Hahaha, luckily php is more USA English. But it would be a lot more fun if it wasn't though :)
#332, Guido, Nederland, 6 October 2012. Reply to this.
This arcticle made me giggle a lot. Love the polite ones! :)
#333, Kayleigh, United Kingdom, 25 October 2012. Reply to this.
This post is fantastic ; ) I cant stop laughing
#334, Paul, england, 2 November 2012. Reply to this.
Totally agree ( Especially the £ sign !!!).
Splendid !!!
#335, Alan, UK, 7 December 2012. Reply to this.
Absolutely awesome. Can someone please make this happen!
#336, Matt Rhys-Davies, 19 December 2012. Reply to this.
suddenly, PHP makes sense to me – and I'm an American. Cheerio!
#337, mf, 9 January 2013. Reply to this.
I think not kind sir - since Monty P's "No body expects..." it would be "Oh bugger"
#338, Bill Lang, England, 22 February 2013. Reply to this.
Splendid piece of work, I must say, but there's one point I'd take issue with.
The definition of class includes three strata: upper, middle and working.
I must say I think "working class" is a trifle red, don't you? It is my opinion that "lower class" is an appellation more appropriate for their station, much more descriptive of their nature, and unburdened with the imagery of unshaven mobs picketing at the factory gates.
#339, Anthony Meadows, The Dominion of Australia, 26 February 2013. Reply to this.
The non-abbreviated versions are an improvement. Except the last two, which are not really British anyway (after all, they say BBC, not British Broadcasting Corporation).
#340, kikito, Spain, 26 March 2013. Reply to this.
Love this.
What about set_cookie()? Shouldn't that be serve_biscuit()? Later available in the $BICSUIT super global?
#341, J, USA, 26 March 2013. Reply to this.
For
try / catch I think this suits more:
would_you_mind {
...
} and_if_something_happens_to_go_awry ( I_say_old_chap e ) {
...
}
#342, Andy Powell, UK, 26 March 2013. Reply to this.
rly <3 ur artcle kthnxb
#343, BtM, the Netherlands, 26 March 2013. Reply to this.
Too verbose.
I don't think I would use British anything. Especially British Ruby.
No wonder the Americans Rebelled.
#344, Brock Peters, Canada, 26 March 2013. Reply to this.
I actually found this much more readable in British English.
#345, Leon, 26 March 2013. Reply to this.
As discussed, I don't think "actually_I_do_mind" is very British, it comes across a tad brutally direct and accusative, we would prefer
would_you_mind {
// some code here
} terribly_sorry_old_chap(Exception £e) {
// some code here
}
#346, Imran, 26 March 2013. Reply to this.
I can't help but feel that the tone sould be a little more apologetic , eg:
would_you_mind {
// Code here
} ah_sorry_about_this_old_chap (Spot_of_bother £e) {
// Politely move on
cheerio('Message');
}
#347, Jez, 26 March 2013. Reply to this.
Hah, beaten to the punch! Bravo!
#348, Jez, 26 March 2013. Reply to this.
Jolly good show old chap!
#349, Ryan Hellyer, Norway / New Zealand, 28 March 2013. Reply to this.
You got it!
Hail queen!!
Long live to Rasmus!!!
#350, Kennedy Carvalho, Brazil, 28 March 2013. Reply to this.
Proud to be British - Good show!!
#351, Louise Martin, United Kingdom, 12 April 2013. Reply to this.
Ha ha ha. Hilarious!
#352, rana, Bangladesh, 18 April 2013. Reply to this.
£variable_name - that was the best =)
#353, Victor, 22 April 2013. Reply to this.
Dave, you're an a**. National linguistic pride is stupid. Everyone's language is fine, and no-one's language is better than anyone else's.
#354, Asif Idonteven Whatisthisf*****y, 1 May 2013. Reply to this.
If anything, "echo" should be swapped for an altogether more pleasant "repartee"! But only if members of the upper middle and higher classes are present in the script; utilize "oi <expletive of choice>" otherwise to get the server's attention.
#355, £kingofbeasts£, Wonderland, 12 May 2013. Reply to this.
Fantastic post! The "Manners" section is brilliant.
#356, Dan Ward, United Kingdom, 15 May 2013. Reply to this.
Loved it!!
#357, Shoib Ahamed, 20 May 2013. Reply to this.