本文主要是介绍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?
本文转自
http://compsci.ca/blog/if-a-programming-language-was-a-boat/
如果编程语言也是一条船
程序员与编程语言一直都被热烈讨论的话题。这里不妨引入一个新的思考方向,如果将编程语言比作一条船,那么程序员又将扮演一个什么样的角色?是载舟的水,还是坐船的人?
Turing
图灵无疑是一条独木舟,它很小并且需要纯手工驱动。这是一条适合初学者的“船”。
Java
Java 是一条货船。它的体积庞大、承载量大,非常企业级。不过在运行一个项目时,操作并不那么顺手。
Perl
Perl是一艘拖船。它有足够的动力来拖动Java正常运行。
Ruby
Ruby 很难描述,它是圆滑的、性感的、顺手的和新潮的。
PHP
PHP是一个竹筏。由一连串的hacks连成一体,仍将保持下去。
C
C 是一艘核潜艇。虽然说明不好理解,不过可以优化硬件的性能。
HTML
HTML也许不能称之为一个真正的编程语言。
你心目中的语言是一条什么样的船?
本文转自
http://news.csdn.net/n/20080408/115016.html
这篇关于If a programming language was a boat(转)的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!