3 ms·
What you really have to love is the complete lack of comments.
by DannoHung 17y ago
What you really have to love is the complete lack of comments.
- silentbicycle 17y agoIt's a one-page draft of an interpreter for a subset of a language, by one of the main designers involved with it, written to the initial designer. It's written in C, but idiomatically written as closely to the language as possible. Having comments would be pretty strange, honestly. There's an unpacked and commented version of it here, FWIW: http://www.kuro5hin.org/comments/2002/8/30/175531/763/1#1 http://www.kuro5hin.org/comments/2002/8/30/175531/763/1#1
- DannoHung 17y agoYeah, except he does the same thing in every language, even in written english. I'm not criticizing it anyway. His K is very clean... usually. edit: I do wish he'd be a little less terse in the code for interfacing with other C code. Just as a favor to us normal humans.
- silentbicycle 17y agoAgreed. I think it's atrocious C style, it just makes sense for people who write J natively to style the C that way in a context where it will be understood.