Re:K, by Arthur Whitney (2005)
by beagle3 on Saturday January 18, 2014 @04:42PM
(#7082353)
It's more than just terser notation for numpy-style operations. Q (verbose K) reads cleaner than numpy code - closer to English, in fact, without giving up any speed. K is the terse mathematical notation for that language.
K has 3 types: atoms, lists, and dictionaries. (atoms can be int, char, float, symbol, time or function). No objects, no strings, not even files. And yet, it is enough to express many algorithms concisely and efficiently, with bugs largely reduced to the class of off-by-one family.
The syntax is not just a superficial aspect of the language - it is fundamental to its evolution.
K has 3 types: atoms, lists, and dictionaries. (atoms can be int, char, float, symbol, time or function). No objects, no strings, not even files. And yet, it is enough to express many algorithms concisely and efficiently, with bugs largely reduced to the class of off-by-one family.
The syntax is not just a superficial aspect of the language - it is fundamental to its evolution.