互联网与文化addedbytes.com
如果 PHP 是英国人
If PHP Were British
2011 — 2013,它一次次回到首页
黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。
导读
这是一篇幽默博文,设想如果 PHP 采用英式英语和英国文化会是什么样:用英式拼写、加入礼貌用语和排队梗来调侃 PHP 的语法与函数命名。它把编程语言细节和英式幽默结合起来,引发读者讨论语言本地化、拼写差异以及这类玩笑背后的严肃问题。
为什么经久不衰:它短小易读,把程序员熟悉的语言细节和英式幽默结合,今天读来仍能让人会心一笑,也顺带引出关于命名惯例与语言本地化的讨论。
HN 评论精选
指出加拿大英语有自己的拼写规范,不是简单的英式/美式二分。
有趣,但完全忽略了加拿大英语不同于美国英语这一事实。我们这里一般拼作 'colour',但对 'connexion' 就不这么写;而 'seriali[sz]e' 有两种拼法,取决于读者和遵循的 style guide。Joe Clark 有一本很好的书讲这个,叫 Organizing Our Marvellous Neighbours。
halostatue查看英文原文
Funny, but completely ignorant of the fact that Canadian English is distinct from Amrican English. We generally spell it 'colour' here, but draw the line at 'connexion', and have two spellings for 'seriali[sz]e', depending on the audience and style guide you follow. Joe Clark has a wonderful book about this, Organizing Our Marvellous Neighbours (http://en-ca.org/).
联想到用拉丁语写 Perl 的经典语言玩笑模块。
我很惊讶还没有评论提到我最喜欢的相关作品,不朽的 Lingua::Romana::Perligata。
BerislavLopac查看英文原文
I'm amazed that no comment has yet mentioned my favo(u)rite take on the subject, the immortal Lingua::Romana::Perligata http://www.csse.monash.edu.au/~damian/papers/HTML/Perligata.html ;)
英式拼写让人别扭,但符号选择可能没有实质影响。
我发现自己不得不在 CSS 里写 'color' 时会真的有点恼火。不过我在想,尽管这些玩笑很有趣,它有什么严肃影响。比如,如果它一开始就用 £ 而不是 $ 表示变量,会有任何区别吗?
corin_查看英文原文
I find myself getting genuinely annoyed when having to write things like "color" in CSS. I wonder, though, as fun as it is to think about these jokes, what serious implications it had. Let's say, for example, it actually had been started with variables using a £ rather than $, would it have made any difference at all?
Perl 有把语言方言做成模块的恶搞传统。
顺带一提,Perl 很乐意让你把语言子类化成你选的方言。这里是澳大利亚英语(即 'strine'),或者你更喜欢用尼日利亚垃圾邮件英语编程?
freyfogle查看英文原文
On a related note, perl happily let's you subclass the language to the dialect of your choosing. Here's Australian (ie "strine") http://search.cpan.org/~simonw/Acme-Lingua-Strine-Perl-0.54/Perl.pm or perhaps you prefer to program in Nigerian Spammer? http://search.cpan.org/~jwalt/Acme-Lingua-NIGERIAN-1.0.0/NIGERIAN.pm
历次讨论
同类还值得读
如今电脑上几乎所有操作在感知上都比 1983 年更慢(2017)
Almost everything on computers is perceptually slower than it was in 1983 (2017)
2017 年的推文串认为,尽管计算机硬件比 1983 年快得多,日常操作的感知速度却常常更慢:启动、界面响应和网络应用被层层抽象、动画、后台检查与网络依赖拖累。
互联网与文化上首页 5 次 · 2017–2020twitter.com网站肥胖危机
The Website Obesity Crisis
Maciej Cegłowski(idlewords)的经典演讲文稿《网站肥胖症危机》,批评现代网页越来越臃肿:动辄数 MB 的 JavaScript、追踪脚本和广告,把本可以轻…
互联网与文化上首页 5 次 · 2016–2021idlewords.com编辑精选亚马逊那本标价 23,698,655.93 美元的苍蝇书
Amazon’s $23,698,655.93 book about flies
博文讲的是亚马逊上一本关于果蝇的二手书被标到 23,698,655.93 美元。
互联网与文化上首页 5 次 · 2011–2022michaeleisen.org浏览器 User-Agent 字符串的历史
History of the browser user-agent string (2008)
2008 年的经典文章用戏谑的“创世纪”口吻,讲述浏览器 User-Agent 字符串如何从简单的标识演变成层层叠加的伪装:浏览器为了绕过按 UA 分发的网站检测,纷纷把自己伪装…
互联网与文化上首页 5 次 · 2012–2022webaim.org编辑精选最后的问题——艾萨克·阿西莫夫
The Last Question - Isaac Asimov
阿西莫夫最著名的短篇科幻小说《最后的问题》的在线全文。
互联网与文化上首页 5 次 · 2009–2019multivax.com编辑精选