返回正常中文阅读
想对这篇译文“指手画脚”吗?
大错
小错
不顺
建议 If a programming language was a boat
If a programming language was a boat…
This one is inspired by a recent forum post, that still leaves me in amazement.
Hi, Im wondering how i can create a boat in turing and if someone can post a example.
This makes no sense, since one doesn’t normally make water vehicles in Turing, the programming language. Though this got me thinking — if a programming language was a boat, what would it be?
Turing
Turing would definitely be a kayak (thank you for comments). It’s small. It’s human powered. It’s often used as a beginner “boat”. And it’s also very Canadian.
Original photo by naokomc
Java
Java is a cargo ship. It’s very bulky. It’s very enterprise~y. Though it can also carry a lot of weight. Will carry a project, but not very fun to drive.
Original photo by cfarivar
Perl
Perl is a tugboat. Powerful enough to tug Java around, in 80 characters or less.
Original photo by xeeliz
Ruby
Ruby is difficult to describe. It’s sleek, sexy, and very fun to drive. Here’s a picture. Very trendy.
Original photo by Tony Falcon
PHP
PHP is a bamboo raft. A series of hacks held together by string. Still keeps afloat though.
Original photo by permanently scatterbrained
C
C is a nuclear submarine. The instructions are probably in a foreign language, but all of the hardware itself is optimized for performance.
Original photo by Ryan C. McGinley
HTML
HTML isn’t really a programming language boat.
Original photo by ascendeddaniel
There’s a lot more to this, and it’s all up for discussion. How would your favourite programming language fare in open waters?
如果编程语言是一只船
如果编程语言是一只船...
这个题目是受到最近的一个论坛帖子的启发的,至今这句话仍让我惊奇不已。
“Hi,我在想我怎么可以用Turing来造一只船,有谁能给我一个例子呢?”
这话似乎没有意义,因为没有人会拿Turing造交通工具,编程语言...但这让我联想,如果编程语言是一只船的话,那情况会是怎么样?
Turing
Turing肯定会是爱斯基摩人的小皮艇!很小,还是人力推动的。这是初学者的船,而且,这个语言很有加拿大的风韵。

Java是集装箱货轮。它实在太庞大,太企业化了。虽然承重很大,可以撑起整个项目,但是操作起货轮来却毫无乐趣可言:)

Perl
Perl是一只拖船,马力强大得可以只用80个不到的字符就拖着Java到处转...

Ruby
Ruby难以用言语形容,她是浑圆的,性感的,驾驭起来充满乐趣。看看这张图,啊,多新潮。

PHP
PHP是一个小竹筏,用字符串连接的小修小补,却仍然在世间流传。

C
C是核动力潜艇!指令估计都是外星语言,但是所有的部件都是最最出色的!

HTML
HTML不完全是一艘船...是一部冲向游泳池的自行车?
这个话题还有很多很多的内容,这就取决于我们的讨论需要了。那在真实的水域里,你最爱的编程语言表现如何?

