r/ProgrammerHumor • • Jun 11 '13

If PHP Were British

http://www.addedbytes.com/blog/if-php-were-british/
221 Upvotes

34 comments sorted by

45

u/AMV_Ph34r Jun 11 '13

I most certainly am in favor of handling exceptions with actually_i_do_mind.

38

u/e13e7 Jun 11 '13

Heavily in favor of changing 'if' statements to 'perchance' statements.

8

u/more_exercise Jun 13 '13
#define perchance if

done.

10

u/Not-original Jun 12 '13

My first Britsh PHP code:

Announce(£2B || !£2B);

6

u/mailto_devnull Jun 12 '13

£question =

13

u/fudeu Jun 12 '13

I lost it on splendid;

8

u/neurohero Jun 12 '13

I had just recovered from splendid; when I got to this:

  would_you_mind {
      // Code here
} actually_i_do_mind (Exception £e) {
    // Politely move on
    cheerio('Message');
}

7

u/[deleted] Jun 12 '13

I will say the same as the last time this was posted:

I find that changing "protected" to "hereditary" actually makes intuitive sense.

4

u/[deleted] Jun 20 '13

I do actually agree with that one.

1

u/lazyCrab Sep 11 '13

That is quite a good change, as I myself often mix up protected and private.

3

u/Tarou42 Jun 12 '13

I couldn't help but read the entire thing in the voice of David Mitchell.

It was fantastic.

5

u/robocoop Jun 12 '13

"Oh there's your problem! You forgot to splended out of that loop."

3

u/otakuman Jun 12 '13

This is hilarious. Bravo.

2

u/mrspoogemonstar Jun 12 '13

I find this to be high octane nightmare fuel

1

u/MrJekyll Jun 16 '13

This is brilliant !

0

u/David_Crockett Jun 11 '13

my_structured_query_language_connect

There isn't agreement that SQL means structured query language.

4

u/ponchedeburro Jun 12 '13

If I'm not totally wrong, SQL was invented at IBM. So by this link I think we can safely assume that SQL means structured query language. What else would you want it to be named?

13

u/Octopuscabbage Jun 12 '13

I vote 'Sexually Questionable Language'

1

u/mgdmw Jun 12 '13

4

u/[deleted] Jun 12 '13

This is the most correct reply, using the Encyclopædia Britannica.

0

u/[deleted] Jun 20 '13

Today I learned that connection can legitimately be spelled connexion in my country. I think I'll make use of it just to see how people react.

-3

u/DavidDavidsonsGhost Jun 12 '13

It wouldn't be integer it would be interger.

1

u/ProgrammingThomas Jun 12 '13

No it wouldn't; this is a common misconception. Interger is a common misspelling, however it is not correct in British English.

0

u/[deleted] Jun 12 '13

[deleted]

6

u/TTEH3 Jun 13 '13

Good morrow, fellow subject of the Crown!

There.

3

u/[deleted] Jun 20 '13

I've said something very similar as a joke, and as teenagers my friends used "Good morrow" a lot.

0

u/[deleted] Jun 11 '13

[deleted]

19

u/Hairy_The_Spider Jun 11 '13

Yeah, how dare people not scan the entirety of reddit before posting.

0

u/[deleted] Jun 12 '13

[deleted]

5

u/Solari23 Jun 12 '13

James and Alan are not the only two people using this fridge. And that jerk Alan keeps throwing the post-its away...

3

u/Hairy_The_Spider Jun 12 '13

Ok but what do you propose? Someone must read all posts in a subreddit before posting? This dude probably saw that for the first time thought it was funny and posted it here. If people here upvoted it, it means it's probably funny for them too, so most of them probably did not see it before.

1

u/[deleted] Jun 12 '13

Your analogue, as has already been pointed out, shows Alan (the repost whiner) as the douche and James as the nice guy making sure everybody sees the post-its.

For your congestion problem I politely refer you to the vote-system in place. Everybody fucking sick of seeing the same post-its from James? Everybody agrees to toss him out of a window.

1

u/[deleted] Jun 20 '13

Reddit is a content discovery/ aggregator, not a whats new on the internet site.

0

u/[deleted] Jun 11 '13

[deleted]

0

u/[deleted] Jun 11 '13

[deleted]

-18

u/maryjayjay Jun 11 '13

I've never seen it before and it's stupid. Only idiots that think all Americans talk like cowboys or rednecks think English people speak that way. Pip pip and cheerio!

2

u/[deleted] Jun 20 '13

It was written by a British person, and as another British person I find it funny. I actually considered implementing this by abusing C defines as a joke.

You don't have to be so uptight about culture, and some of them are actually spellings I wouldn't mind, like hereditary instead of protected, and to be fair some of the other things are slightly more readable.