3 ms·
I think this is not the right understanding, since LOC here is being used as a proxy for complexity, but language that packs more complexity into single line wo
by smsm42 12y ago
I think this is not the right understanding, since LOC here is being used as a proxy for complexity, but language that packs more complexity into single line would not necessarily reduce the complexity. It might, but it might not - e.g. it is true that you can implement Conway's life game as one-liner in APL [1], but does it become much simpler than multi-line implementation of the same in more mainstream language? I would not really say so.
[1] http://catpad.net/michael/apl/ http://catpad.net/michael/apl/