喜羊羊与灰太狼 发表于 2013-1-26 12:44:25

[转]If a programming language was a boat…


If a programming language was a boat…

 
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.
http://compsci.ca/blog/wp-content/uploads/2008/04/turing_programming_canoe.jpg
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.
http://compsci.ca/blog/wp-content/uploads/2008/04/java_programming_cargo.jpg
Original photo by cfarivar
Perl

Perl is a tugboat. Powerful enough to tugJava around, in 80 characters or less.
http://compsci.ca/blog/wp-content/uploads/2008/04/perl_programming_tugboat.jpg
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.
http://compsci.ca/blog/wp-content/uploads/2008/04/ruby_programming_speed_boat.jpg
Original photo by Tony Falcon
PHP

PHP is a bamboo raft. A series of hacks held together by string. Still keeps afloat though.
http://compsci.ca/blog/wp-content/uploads/2008/04/php_programming_raft.jpg
Original photo by permanently scatterbrained
C

C is a nuclear submarine. The instructions are probably in a foreign language, butall of the hardware itself is optimized for performance.
http://compsci.ca/blog/wp-content/uploads/2008/04/c_programming_submarine.jpg
Original photo by Ryan C. McGinley
HTML

HTML isn’t really a programming language boat.
http://compsci.ca/blog/wp-content/uploads/2008/04/html_not_a_boat.jpg
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?
”— If a programming language was a boat… | 
页: [1]
查看完整版本: [转]If a programming language was a boat…