3 ms·
I disagree with that. If your code base is small enough, a few redundant lines (idioms) don't matter. To bring up k again, the language has already done about
by kick 7y ago
I disagree with that. If your code base is small enough, a few redundant lines (idioms) don't matter.
To bring up k again, the language has already done about the maximum amount of abstraction possible. There's really no room for the programmer to make reusable abstractions; any useful ones have already been made. That allows you to do very useful things in very small amounts of code. Picking a random example, here's a complete Sudoku solver in 75 bytes:
http://nsl.com/k/sudoku/aw3.k http://nsl.com/k/sudoku/aw3.k