Look at the source.
(c) http://code.kx.com/wsvn/code/kx/kdb%2B/c/c/k.h (c#) http://code.kx.com/wsvn/code/kx/kdb%2B/c/c.cs
This guy is truly depraved.
(c) http://code.kx.com/wsvn/code/kx/kdb%2B/c/c/k.h (c#) http://code.kx.com/wsvn/code/kx/kdb%2B/c/c.cs
This guy is truly depraved.
Coming from that background, C and especially C# must seem extremely verbose.
For example (from Wikipedia):
In K, finding the prime numbers from 1 to R is done with [0]:
(!R)@&{&/x!/:2_!x}'!R
And APL[1]: (~R∊R∘.×R)/R←1↓ιR
Its truly awesome stuff.[0]: http://en.wikipedia.org/wiki/K_(programming_language) [1]: http://en.wikipedia.org/wiki/APL_(programming_language)
Specially loved this comment:
// remove more clutter
#define O printf
#define R return
#define Z statick5 isn't that big (about 9 C files)