lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, 2006-26-01 at 22:13 +1100, Michael Abbott wrote:
> If you want a language with symbols everywhere you can always go Perl ;).

Bah!  K is where it's at for write-only code....
http://www.kuro5hin.org/?op=displaystory;sid=2002/11/14/22741/791

For a comment that exactly explains why I won't be using K ever, peer at
http://www.kuro5hin.org/comments/2002/11/14/22741/791/111#111

If you don't want to look at the site (it can be a bit brain-damaging),
here's a small example of K in action.  This one tests for primality.

isprime:{&/x!/:2_!x}

In its favour is brevity.  K programs are astonishingly small.  Hence
the K style of just rewriting a program if you can't figure it out from
reading it.

I am not making this up.

--
Michael T. Richter
Email: ttmrichter@gmail.com, mtr1966@hotpop.com
MSN: ttmrichter@hotmail.com, mtr1966@hotmail.com; YIM:
michael_richter_1966; AIM: YanJiahua1966; ICQ: 241960658; Jabber:
mtr1966@jabber.cn

Attachment: signature.asc
Description: This is a digitally signed message part