6 ms·
It says 99 lines, and it theoretically is, but is it really 99 lines if it has 119 semicolons? In the main function, nil = box(NIL,0); err = atom("ERR"); t
by dontcontactme 4y ago
It says 99 lines, and it theoretically is, but is it really 99 lines if it has 119 semicolons?
In the main function,
nil = box(NIL,0); err = atom("ERR"); tru = atom("#t"); env = pair(tru,tru,nil);
This should probably be 4 lines of code, but it all appears on one line in the source code. '99 lines' of code is technically true, but using number of lines as a measure of code complexity becomes less useful once you start packing multiple distinct things into one line like this.
- kristopolous 4y agoDisguising complexity as brevity only obfuscates. It detracts from the simplicity because there's a huge opportunity for clarity that's being run away from There's a huge difference between conceptual purity ass packing bytes
- kristopolous 4y agoSorry it was late, I meant "and packing bytes"
- deleted 4y ago[deleted]