r/ProgrammerHumor • u/Kuytu • Mar 27 '13
If PHP Were British
http://www.addedbytes.com/blog/if-php-were-british/5
Mar 27 '13
I... Actually think something along the lines of "hereditary" makes more sense.
2
u/escozzia Mar 27 '13
You're right, you know. I wonder why 'protected' ever came in use in the first place.
Private makes sense, as does public, but protected? Protected from whom? Evidently from outside classes, but counter-intuitively from children as well
1
Apr 13 '13
Be glad it never ended up with "friend" classes. What's makes it a friend? Friends can access each other's privates.
4
Mar 27 '13
Some of these really would help the language. I never could take preg_replace, preg_match and so on seriously---not to mention I kept expecting there to be a preg_abort function.
2
1
3
1
Apr 15 '13
Why would the British use 'nouveau'? That's a (dirty) French word!
2
u/Laugarhraun Jun 13 '13
http://en.wiktionary.org/wiki/nouveau
Borrowing from French nouveau. Recognized as English in 1828.
(no, I'm not late to the party)
7
u/nuclear_splines Mar 28 '13
You know, it would be awful, awful form to do this, but I'm tempted to put #defines in my code just so I can end cases with
splendid;