A Programminig Language

The following amusing rhyme has been circulated as part of the fortune program in numerous UNIX 
'Tis the dream of each programmer
Before his life is done,
To write three lines of APL
And make the damn thing run.
Let me show a dazzling sort program in J, which is the evolved APL:
quicksort=: (($:@(<#[) , (=#[) , $:@(>#[)) ({~ ?@#)) ^: (1<# 
More things about the wizardly APL can be found on Wikipedia.
此条目发表在My Life分类目录。将固定链接加入收藏夹。


Fill in your details below or click an icon to log in:

WordPress.com 徽标

您正在使用您的 WordPress.com 账号评论。 登出 /  更改 )

Google photo

您正在使用您的 Google 账号评论。 登出 /  更改 )

Twitter picture

您正在使用您的 Twitter 账号评论。 登出 /  更改 )

Facebook photo

您正在使用您的 Facebook 账号评论。 登出 /  更改 )

Connecting to %s