如果编程语言也是一条船(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.


Java

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.

Perl

Perl是一艘拖船。它有足够的动力来拖动Java正常运行。

Perl is a tugboat. Powerful enough to tug Java around, in 80 characters or less.

Ruby

Ruby 很难描述,它是圆滑的、性感的、顺手的和新潮的。

Ruby is difficult to describe. It’s sleek, sexy, and very fun to drive. Here’s a picture. Very trendy.

PHP

PHP是一个竹筏。由一连串的hacks连成一体,仍将保持下去。

PHP is a bamboo raft. A series of hacks held together by string. Still keeps afloat though.

C

C 是一艘核潜艇。虽然说明不好理解,不过可以优化硬件的性能。

C is a nuclear submarine. The instructions are probably in a foreign language, but all of the hardware itself is optimized for performance.

HTML

HTML也许不能称之为一个真正的编程语言。

HTML isn’t really a programming language boat.

你心目中的语言是一条什么样的船?

There’s a lot more to this, and it’s all up for discussion. How would your favourite programming language fare in open waters?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值