If PHP Were British (2011)
aloneonahill.com
aloneonahill.com
I remember being about 13 and learning about OO code and reading Apple's (then excellent) developer documentation. It had an example of a class called "faucet" and lots of text related to American plumbing. At the time I had literally no idea what faucet meant (en_gb: tap) and spent about five times longer trying to understand the metaphor than the actual code. It really left a bitter taste in my mouth: I didn't have a clue what was going on, not because of inheritance or Obj-C, but entirely because I didn't understand what the author probably didn't realise was a culturally sorry metaphor.
Also reminds me of when I was stuck in Lego Star Wars and couldn't find the way to solve a level. I then searched for a write-up of said level. At that point I only understood German, but I was still extremely confused by the write-up. The reason was, that the German word for 'hatch' is 'Luke', and Luke Skywalker was a character who was present in that level. I was stuck because I didn't find that hatch and the write-up told me that I 'jump on the platform with Luke and activate a control panel with R2-D2 to make Luke appear so that people can go through the Luke' (very paraphrased, but I think the point comes across)
Edit: The best windows OS after 95 ;)
Windows XP was nice, yeah. Windows 7 as well, and I can tolerate Windows 10 for gaming. For everything else, the penguin does the job.
The problem is when foo and bar are used in material aimed at beginning programmers who are still developing that instinct and who haven’t yet got that bit set.
https://en.wikipedia.org/wiki/Foobar
"FoobarNot to be confused with FUBAR or Foobar2000."
It's linked from FUBAR but not under "disambiguation" but "See also".
> It is possible that foobar is a playful allusion to the World War II-era military slang FUBAR (Fucked Up Beyond All Recognition).
https://en.wikipedia.org/wiki/Foobar
Which is certainly how I've always understood it.
The Jargon File, though largely historical and obsolete, is a good place to start:
(It is useful to illustrate syntax, though!)
https://news.ycombinator.com/item?id=33747944
https://catb.org/jargon/html/F/foo.html
It was probably paired with "bar" because of FUBAR though.
My dad referred to the figure known as the "impossible trident" ( https://en.m.wikipedia.org/wiki/Impossible_trident ) as a "foobar". It was used as a warning to engineering students to check their technical drawings.
Other fun US/UK cultural issues: interview questions like "how many pingpong balls fit in a school bus". To Brits a school bus could be literally anything from a coach to a small vehicle, they aren't standardized like in the US. Even when you remember the big yellow buses from films, how big are they? If you never saw one in real life it's hard to imagine. Also it took a while before I figured out that "ping pong" meant table tennis. Fun times.
To this day, I still name things internally with the spellings I'm used to despite working in an international company (where it makes sense of course, not in a way that might lead to actual time wasted due to confusion.)
Another thing that confused me and lots of other British children: why do so many American program brand names begin with the apparently meaningless letters EZ? Eee-zed doesn't mean anything!
EZ would be pronounced "easy".
"England and America are two countries separated by a common language."
I'm American, and I grew up with the short scale, so I always though it made obvious sense: every time you add a comma, you jump up. So 1,000,000 is a million, 1,000,000,000 is a billion.
But 10^9 is a billion and 10^12 is a trillion makes very little sense. I mean, I know it's 1,000 * 1,000^2 and 1,000 * 1,000^3, but it seems to make more sense to me to say that a million million is a billion, and a million million million is a trillion. So 1,000,000^2 and 1,000,000^3, with the bi and tri right there.
Still, that ship has long sailed, so 1,000 * 1,000^3 for a trillion it is.
Always "million", but any time you say "billion" say "long billion" or "short billion". If it catches on, after a sufficient period we can drop the "long" once everyone realizes that long is better (and gives us milliards and billiards).
I hopped on stage and started talking about my Ph.D in cognitive neuroscience. I told them that I was studying how the attentional system is involved in conscious perception. To make it a bit more tangible, I asked everybody to close their eyes, and said "I've now been talking to you for a few minutes. With your eyes closed, I want you to tell me what color pants I'm wearing."
If you're British, you're likely roaring with laughter at this point. For the Americans: pants means underwear in the Queen's English.
We all had a jolly good laugh.
I went around the corner and popped my head into the nearest office – a female (and conventionally attractive) American post-doc I didn't know terribly well was sitting there typing and I just said, "Hey, <name> do you have a rubber I could borrow in a hurry for just a moment? I'll bring it back in less than two minutes, promise!". She changed colour, burst out laughing, and handed me "an eraser"...
> late Middle English (denoting a bung for the vent hole of a cask, or a tap for drawing liquor from a container): from Old French fausset, from Provençal falset, from falsar ‘to bore’. The current sense dates from the mid 19th cent.
> Old English tæppa ‘peg for the vent-hole of a cask’, tæppian ‘provide (a cask) with a stopper’, of Germanic origin; related to Dutch tap and German, Zapfen (nouns).
Both had the same classical meaning from different origins, but the British chose the German/Dutch word while the Americans chose the French/Latin word.
One of the most interesting books that I've read in a long time:
Highly Irregular: Why Tough, Through, and Dough Don't Rhyme--And Other Oddities of the English Language [0]
This gave me incredible insight into the formation of modern English. I read it voraciously. Very good book to understand why it's such a mess.
I bought it after hearing an interview with the author on a podcast.[1] I think anyone (English-speaking) who enjoys and appreciates language (and podcasts) will get a kick out of it. The author is passionate and excited by the topic, so very entertaining.
[0] https://www.goodreads.com/en/book/show/55332395-highly-irreg... [1] https://99percentinvisible.org/episode/corpse-corps-horse-an...
Ps asking for a British friend
I think this is a common theme. British English has earthier words, American English seems to have fancier terms in a lot of cases - but sometimes it is reverse. Pot luck really, though I think AmE is the fancier one for general terms. The one that always sticks in my mind is the AmE "transmission", which is in BE, "gearbox". I wouldn't know what "transmission" means if someone hadn't told me, but I could have worked out what gearbox was from the fact it was talking about gears.
Even though I typically use British spelling and idioms I still prefer and use parenthesis because it's just clearer and less easily confused with square brackets.
She also kept typing "colour" and such in CSS. Since then I've always made sure "color" and "colour" both work whenever I add a setting of CLI for it. I wish the English-speaking folk could agree on a way to spell things; can you all maybe have a war over it or sort it out some other way?
The confusion stems mainly from the Norman conquest anyway so don't count on a war solving it.
() {} and []
Typically I've seen/read [] as 'brackets', () as 'parenthesis' and {} as 'curly brackets' or 'curly braces'.
So would UK folks use () as 'brackets' and [] as 'square brackets'?
Yes, exactly that.
Yes; "round brackets" is also used, but typically just "brackets".
It's one of those words that exists in both variants of English but actually mean something different. "Pepper", "pants", "fanny" are also fun.
*) Plus there's the very English joke, and no this isn't something generated by ChatGPT:
One day, Shakespeare and Marlowe encountered an elderly man with a very straight back and bandy legs. After the old man passed by, Shakespeare turned to his colleague and said: "Marlowe, if you were to include that man in your next play, how would you introduce him?"
Without any hesitation, Marlowe replied: "Lo! Here comes a venerable gent, his back is straight, though his legs are bent."
Marlowe then said: "Will, how would you put it?"
Shakespeare pondered a moment then suggested: "What manner of man is this, who wears his balls in parenthesis?""
They were all abstract figures and a question like 'after figure A, B and C, which follows?', the answer to which was usually pretty obvious in a weird kinda way.
I've not seen any that made any reference to the real world.
https://nrcgt.uconn.edu/newsletters/winter052/ https://www.iqtestcouncil.org/faq/are-iq-tests-culturally-bi... https://www.encyclopedia.com/social-sciences/encyclopedias-a...
There might better sources than those, the first one in particular has a lot of its own cites.
My memory from class was a bit of a different angle than fairness which is what those talk about. The issue brought up there was that IQ tests were designed for the specific purpose of placing a corpus of students with varied prior education levels in the right grade. For that purpose it worked well: if you didn't do well on the English portion because your English is non-native and the school is charged with teaching you English, practically speaking we do need to send you back a grade because you need that specific skill and that's where you'll get it. But being non-native English doesn't mean that you're less intelligent, so the score isn't really applicable for measuring that basically unrelated thing. Despite the name, measuring intelligence isn't what it was for. I also vaguely remember it having story questions like "the left tap is cold water and the right tap is hot water, how much do you need to turn each to get 25% warm water" being asked of people that didn't have running water in their homes and that being a problem. But again don't lean too much into my memory, I could be remembering this all wrong.
"POUT! POUT!"
C'est surtout utilise dans le jingle d'une rotisseries tres populaire : https://www.youtube.com/watch?v=RvzukGgd5_Y
Definitely biscuits: https://www.abelandcole.co.uk/chocolate-chip-digestives-mr-o...
Obviously cookies: https://www.tesco.com/groceries/en-GB/products/258025719
I hope things are clear now.
Now if someone could explain to me how a shit savoruy scone is a "biscuit" on your side of the pond... I'd appreciate it
(To be clear, these dumplings:
https://www.errenskitchen.com/suet-dumplings/
Not these dumplings:
https://omnivorescookbook.com/recipes/how-to-make-chinese-du... )
Dumplings are of course far superior. (And clotted cream & jam is a better way to eat a scone.)
^Understanding that just makes it a baseless & lazy argument, a joke at best.
Clotted cream is far thicker and lends itself to a big dollop on top which keeps its shape and does not run off the sides.
Why do people still question this obviously infallible logic?
Does it rhyme with gone or cone?
Linguists at Cambridge University have published a map of the regional variations:
https://www.cam.ac.uk/research/news/cambridge-app-maps-decli...
But I guess that also depends on how you pronounce gone, as to whether it rhymes with 1 or 3…
Bisküvi (Biscuit): https://www.akakce.com/biskuvi/en-ucuz-ulker-potibor-800-gr-...
In German,
Kekse: https://www.idealo.de/preisvergleich/OffersOfProduct/4360170...
Again in Turkish,
Kek: https://www.akakce.com/kek/en-ucuz-balocco-panettone-500-gr-...
But if it's a wet cake, then, "Pasta": https://www.carrefoursa.com/pastalar/c/1289
What you consider to be pasta is "makarna": https://www.carrefoursa.com/pastalar/c/1289
So, makarna/Macaroni is normally considered to be a sort of pasta, but in French there is,
https://en.wikipedia.org/wiki/Macaron
I love this madness :)
(1) - At least I think it's funny :)
Certainly not. By law. Biscuits are luxury goods, and as such are taxed appropriately, whereas cakes are essential food items, and have a lower tax rate. This culminated in a VAT tribunal in 1991 [0] where the makers of Jaffa Cakes argued that said items were cakes not biscuits, in order to get the lower tax rate. One of the winning arguments was that cakes go stale, while biscuits go soft. I think this could count as precedent for a proper legal definition of the difference between cakes and biscuits. (Of course, American-style cookies aren't biscuits either by this definition.)
After I did follow the link, I saw my mistake :)
It may be because "scones and gravy" sounds like it would taste, well...British.
Cookies - Starts from a ball or blob, which spreads into a flattened shape during baking.
Biscuits - Starts from a shape cut from a flat rolled sheet, that mostly retains its shape during cooking.
Based on the pictures, those look more or less the same to me...
That's if you're being sarcastic in addition to OP's original comment.
Maybe something like wont_you_have_a_biscuit_please()?
So maybe it's:
wont_you_please_have_this_delicious_guano_biscuit_imported_thanks_to_our_splendid_bilateral_trade_deal_with_vanuatu()https://stackoverflow.com/questions/4565805/is-there-a-limit...
So no.
Though funny side note, there is a historic reason that function names are so inconsistent in PHP: The length of the name of a function was used for hashing. So you wanted a to vary the length to achieve a roughly even distribution of lengths.
Okay, UK GDPR. My sincere apologies.
"Anglish" is the name given to a kind of hobbyist-led reimagining of English that is as close as possible to modern English, but in a parallel universe where the 1066 invasion of England wasn't successful, and English didn't adopt a huge number of French words. https://wiki.anglish.info/wiki/Main_Leaf
Here are some English words used in computing that are derived from French, and their Anglish equivalents:
Binary | Twile
Clone | Betwin
Command | Bid, behest
Concurrent | Bytimely
Computer | Reckoner, arimer (from "rime" meaning "number")
Engine | Gearwork
Event | Happening
Multiprocessing | Manyworking
Polymorphism | Manishapliness
There are also quite a few words that are already Germanic with no French influence:
Backup, bandwidth, bit, bookmark, boot(strap), broadband, browser, bug, cookie, download, flash, framework, inbox, keyboard, laptop, mainframe, motherboard, online, output, root, runtime, shell, software, thread, web, wireless.
- Mark
- Line
I just never used it in practice. And I still don't.
Take a response caching middleware, for example, that uses a CacheStrategy class to control the behaviour of the cache. There's an interface, so we can depend on it in the middleware:
interface CacheStrategyInterface {
public function shouldCache(Request $request, Response $response): bool;
}
and there's a default implementation, shipping with the library, which works for 90% of use cases: class DefaultStrategy implements CacheStrategyInterface {
public function shouldCache(Request $request, Response $response): bool {
if ( ! $this->isMethodCachable($request)) {
return false;
}
return $this->isSuccessful($response);
}
// This method can be modified by user code: Maybe they implemented
// an API with a `"success": false` in the response body, despite
// the status code? There's no way to know that, let alone provide a
// configuration switch for every possible failure condition in user
// code implementing our middleware.
protected function isSuccessful(Response $response): bool {
return $response->isSuccessful() || $response->isRedirection();
}
// This method shall not be modified: Whether an HTTP request may be
// cached is defined by specification, not implementation.
private function isMethodCachable(Request $request): bool {
return $request->isMethodCacheable();
}
}
Users may extend this implementation, and override the `isSuccessful` method with their own implementation used to check whether a response handled by the app was actually successful (and thus should be added to the cache).This method isn't significant from the outside of the class - it would add needless weight to the API contract of our library. But still, there's value in allowing users building their own caching strategy to override it with their own checks. Such an implementation might look like this:
class CustomStrategy extends DefaultStrategy {
protected function isSuccessful(Response $response): bool {
return $response->body('success', false) === true;
}
}
There's no boilerplate here, no need to reimplement the whole shouldCache method, when only a single, granular, override is enough. And that is why protected can be helpful :)(This was taken from a Laravel library I maintain. If you want to check the full example, see here: https://github.com/matchory/response-cache/blob/master/src/S...)
Unfortunately, other programming languages also think the USA format is the standard. Formatting dates with Golang relies on using the USA ordering. The more I use it, the more I despise it. I'm from Europe, but I'm so used to ISO dates that I need a small adjustment time to read European formatted dates.
I was encouraged by my ISP to use 20050101 (YYYYMMDD) as part of the zone serial number.
I have used that format ever since, especially because it will sort correctly without any special handling.
Well, I pronounce it [the] 2nd of December. Just like they say "4th July!", but only for that single day.
"Fourth _of_ July" (or "July fourth") are the Americanisms here.
Actually pronouncing it carefully with a clear "of" emphasizes the date, either for clarity or because it's otherwise important.
Our wedding "save the date" notices caused a bit of confusion - they were published with 6/3/06 (Jun 6) and sent in Feb. From my uncles: "we'd love to come, but that's a bit short notice..." Oops. The formal invites had the dates spelled out.
There is no “European format”. At least one country’s date format (in E) coincides with the simple ISO-8601 format.
z is the British spelling and always has been, s is French and was lifted from French. And made wide-spread by British newspapers in the 60s+.
What is interesting in this case is this author goes all the way back to "connexion" without realising that contemporary to that spelling would be "specialize"
Similarly, of course, the scottish adopt historical englishisms; and so on, and so on.
With `z` however it's a project of those who'd claim to be above such.
I prefer -ise over -ize, I'm not sure why, maybe it fits better with how I pronounce/emphasise things when speaking. Though it isn't the case that either is more right in modern English: while -ize predates -ise, for about half a millennium it has been the case that both are valid so it is just down to preference.
Which ever you pick, just be consistent. There are some cases where one is considered valid and which one varies by variant of English, such as analyse/analyze, which is probably part of where the s-is-English comes from – applying a specific exception widely as if it were a rule.
There are a few things that many are convinced of about English which turn out to be quite false: the singular “they” being another one that has caused much discussion in recent years, or the not-splitting-infinitives thing which some are still determined to boldly hold on to.
TO BOLDLY GO? No, motherfuckers, you go boldly.
I use 'ise' in all cases by default, but if I know my audience is American I use 'ize'. I'm not precious about it.
https://en.m.wikipedia.org/wiki/American_and_British_English...
After a customary search, I can't seem to find any sources that suggest using "ise" might be French, and made popular by British newspapers, besides the below Wikipedia article claiming newspapers using the "ise" spelling, instead of "ize". I'd love to see some sources on this if you have any.
I grew up in Britain, and have been spelling using the "ise" version, but since I've started working for a US company, I've started using "ize" everywhere since it's just easier. In addition, it's still accurate British, when using the Oxford spelling. Although, it did take me a while to get accustomed to changing my writing.
EDIT: Yeah, go ahead and down vote me. I'm British and I find it stupid. It's a weird caricature and unfunny.
// try
} you_fucking_what (Disappointment £d){ fuckety_bye()
} if (something == null nicht) { … } If (something nicht null ==) { }
I.e. falls (etwas nicht null ist) { },It's obviously the == that should be postfix.
"Falls etwas nicht null ist"
if something not null == Falls etwas nicht gleich null ist.
if something not == null
Falls etwas nicht ungleich null ist.
if something not != null falls etwas nichtetif not something if something degilse
https://www.scala-lang.org/blog/2017/04/01/announcing-skala....
Bravo Martin
vs
``` Konst foo = auf bekommenFooAsynchron() warten; ```
Statement unless x;
This did not make left to write code scanning me happy.
Only fractionally because I hate all post-conditionals with a passion. They're the garden paths[1] of coding.
Personally, I do hate both of those (including the Python's ternary operator). But there is something with the bashism it shares, of `do_it() or die "trying"` that looks quite nice.
$x = foo() unless $y > 10
As with any language feature, you can over-use it, but in general once I was used to it I missed it in every other programming language.Here in the UK, a nonce is "a slang term for a sex offender, especially one convicted of sexual offences against children."
PHP, on the other hand, is full to bursting with abbreviations and acronyms which are entirely unnecessary:
str_replace()
is_int()
var_dump()
The following changes should improve things:
string_replace()
is_integer()
variable_dump()
perl_regex_foo() might even be better than "preg" whereas everyone knows what regex means but "preg" isn't obvious at all. At this point who cares that it came from perl it should really just be regex_foo()* <5.3, 8 years ago
Instead of true or false or 1 or 0 values and = operators, British PHP should have constructions like "might very well be", "perhaps" and "not too sure about that"
Also needs a very advanced queuing system
Come on now, the streets of London are full of nonsense like this: For example, the word "Aris" is often used to indicate the buttocks. This is the result of a double rhyme, starting with the original rough synonym "arse", which is rhymed with "bottle and glass", leading to "bottle". "Bottle" was then rhymed with "Aristotle" and truncated to "Aris"
We're talking about PHP here, so yes.
So many of the things in London were slightly funny. Road and tube line/stop names (Piccadilly, Elephant & Castle), restaurants (Assault & Battery [fish & chips shop], Nicomsoup), the price of a doughnut and small coffee at Piccadilly (£7.40) and staggering, jet lagged, into a Piccadilly Circus Starbucks for a morning Butty.
This was also the trip that I played “Prounce That” with a group of Django developers.
What’s “Pronounce That”? Well, we noticed that we kept pronouncing things differently so we started taking turns writing down a common Python/Django package and saying “pronounce that”.
Psycho-PG was probably my favorite.
I submitted it for discussion here https://news.ycombinator.com/item?id=33829193
the_fuck_you_want() { thats_right_keep_walking() }
Do biritish people really talk that polite IRL all the time? If someone would always talk like that I would seem very fake and off to me and make me very suspicious. The only times I expressed myself like that was in university application letters.
I wish someone would do a Scottish or Australian version of PHP complete with swear words. I'd pay good money for that (I have my Alexa set to Aussie, totally worth it).
The other side of the same humor is re-writing everything with "oi, c*nt, over here, you c****sucker"
Aaaand I think it's the same people :)
People who speak Received Pronunciation (RP) may speak more in this way (look up Jacob Rees-Mogg if you really want to see how stupid it sounds) but they are a small minority of the British people.
Personally my go-to for RP would be Trevor McDonald.
However, RP can sound a bit silly with some pronunciations. The same is true with any accent.
Must be an age thing.
What bothers me is the emergence over the last 10 or 15 years is the new London accent that was previously Thames Estaury in the 90s and before that an actual bona fide London accent that my grandparents had.
The new accent is typified by -ah or -ar instead of -er.
The police recruitment adverts being the best example. Become a police office-aah instead of police office-er.
It wasn't really, though - it was just the first one you heard. Accents are always in flux.
(An interesting comparison for me is the Sex Pistols' car crash Bill Grundy interview against a modern London yoof accent. Major, major change just within my lifetime).
I'd say the self-deprecating humour is also a mainstay of the Brits, encompassing almost all social classes. Granted, I'm not a Brit, but a former boss of mine (I'd also call him a friend) was a Brit and he checked all the stereotypes related to that. Really great guy.
They (the Brits) used to also be renowned for their black humour, at least around these parts of the European continent, but I feel that that is beginning to fade out (maybe it has become too culturally sensitive to joke about death? I wouldn't know)
Folks might note 'In the 2010 book Stab Proof Scarecrows by Lance Manley, it was surmised that "chav" was an abbreviation for "council housed and violent"'.
No, no-one talks like that, and also "British people" don't really talk the same way even from one town to the next. There's not really any such thing as a "British accent".
You know how different a New Englander talks from a Texan? That's how different someone from Glasgow sounds compared to someone from Edinburgh, or someone from Manchester compared to someone from Birmingham.
I can tell the difference between New England and Florida but it isn't quite in the same league.
E.g. Austronesian is a huge language family that covers an enormous geographic area including Hawaii, the Philippines, Indonesia and even as far as Madagascar, and it contains over 1,000 distinct languages divided into 9 subfamilies - and yet all but one of those subfamilies are found exclusively in Taiwan, where proto-Austronesian first emerged roughly 5000 years ago.
Something that's struck me about the country is how much the way you talk reflects where you are from and your station in life. Like not just which region, there's frequently dialects/sociolects for different parts of a city.
Maybe you've heard that the western attitude of smiling for no good reason is strange for Eastern Europeans but this is not like that and you can actually quickly internalise the general politeness of daily interactions. I like it a lot but sometimes can come up as unauthentic, you feel the authenticity when they start using sarcasm.
Brits will kill me for this, but it's more of an European thing - the Brits just preserved it a bit more aggressively than others, because they never actually abolished the aristocratic system that generated it.
Not true. Go to Eastern Europe and see. You'll get much less unintentional smiles or politeness than in the UK.
Oh oh, "yes true", and your note confirms it... What did Eastern Europe aggressively do, in the last century? Destroy aristocracy. So they are at the opposite end of that particular scale.
Well, I wasn't a big fan of it, but the reality of the matter is... for most of us, someone else destroyed our aristocracy (and all of our intelligentsia with it) for us.
We do love deliberate understatement, evasion and saying please a lot though!
British politeness is not based on hierarchy, but based on (sometimes excessive) apologising for inconvenience.
Source: I wrote it :)
It's that or cockney. Those are literally your only options if you want anyone from the UK to understand you.
To be proper shakespearen, would
perchance() {} otherwise {}
not be
to be() {} or not to be {}
I'm bad a philosophical math
would_you_mind { // Code here } actually_i_do_mind (Exception £e) { // Politely move on cheerio('Message'); }
I prefer to use ad hoc and sui generis Latin phrases to make myself seem more intelligent than I really am.
Of course if you go back far enough, even the original place names of many places are simply "bastardized" versions of the original. It's how Latin becomes Italian over time.
blah = dosomeaction()
bla > 0 innit? # Assertion
..... if read(blah) {
return RES_NOT_TOO_BAD; # Everything's great
}
.... if !read(blah) {
go Titsup("sorry mate, no such luck!") # exceptions
}
line(0,0,100,100, colour=GREY); # It's $##$%^ "COLOUR" damnit!!!! and G-R-E-Y!!!!
etc(I hope no one in their right mind takes this idea serious.)
For additional fun, the cell names still use Latin letters so you have to constantly switch your keyboard layout from Latin to Cyrillic to Latin back to Cyrillic back to... or pick the cells and ranges with your mouse.
Golly, I wonder why they didn't reuse this approach when they translated Excel to Japanese and Chinese.
Consider Scheme, where even the ubiquitous `stdout` is `current-output-port`.
>$my_variable = 5 innit;
With something like string_replace() it's easy to simply write a new function and redirect the parameters.
Is it possible to replicate the way if/then works with other code; like not just a function but then a series of code blocks in braces?
perchance (£condition) {
// Code here
} otherwise
I actually LOL, well done sir.I did consider suggesting replacing the semi-colon with "innit" at the end of each line, but it didn't really fit with the theme.
(Well, with Britain's current political mess..."sustainable" may be stretching it.)
One counter-example I know first hand: Sinclair ROM BASIC uses $ for denoting strings, in both variable and function names.
The one I have in a Spectrum is copyrighted 1982, around 5 years before first Perl was released.
I'm sure there are older examples like this.
I will be right back, going to prepare some tea and biscuits... Cheerio!
Fucking brilliant!
These were very confusing to learn/ unlearn
If it's just ragging on PHP's deficiencies, (a) that's old-hat, and (b) most of what the author teases about isn't actually a problem with the language.
I read the author as being a non-British English speaker.
What ho, old bean. Yes, I am.
> What ho, old bean.
That's Jeeves and Wooster. And that was itself a parody.
I use some archaic phrases; I refer to "chaps", some disgraceful act being "a bit off", my hat is my "titfer" (cockney rhyming slang hasn't been restricted to cockneys since the 50s). But I don't pretend to be an Edwardian bourgeois twit, like the ridiculous Rees-Mogg.
I'm sorry I didn't get your humour; it's a drag to have to explain a joke.