Get the latest tech news

Reading awc


Arther Whitney, the creator of the k language(s), writes C code in a unique style. Some see it cryptic while others find it elegant.

About several months ago, I started to do code-golf using ngn/k, an opensource implementation of K3, as to gain some experiences with the k language. As an extension of the previous point, common operations like referencing the i-th element and increasing reference count are made into macros for each input variable. It really makes its reader think about the program and how it is built, rather than just inferencing what it does from its shape in a glance and wonder if there were some off-by-one error caused by silly typos.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of awc

awc