Re:Ask HN: What piece of code/codebase blew your mind when y...
by gleenn on Monday October 31, 2022 @06:46PM
(#33414387)
Reminds me of the author of the K programming language, Arthur Whitney, wrote is own language, then database, and now he's working on his own OS.
[ Parent
| on HN ]
Re:Ask HN: What piece of code/codebase blew your mind when y...
by hoosieree on Monday October 31, 2022 @08:24PM
(#33415333)
Speaking of K, a way to generate the first N+1 Fibonacci numbers is what made me take notice of the language:
N(|+\)\1 1
I'm not sure where I first saw this snippet (maybe in the Kona documentation) but it stuck with me enough that I was able to recreate it from memory.