Re:Arthur Whitney's one liner sudoku solver
by nine_k on Sunday October 06, 2024 @03:10AM
(#41755368)
It's a nice interpretation.
I prefer a different approach: "smart is good; clever isn't smart". If you have to express something in a clever, that is, highly contrived but actually working way, it means that you lack the right way to express it, and maybe your mental model of the problem is not that good. The theory of epicycles is clever; Kepler's laws are smart.
Re:Arthur Whitney's one liner sudoku solver
by IshKebab on Sunday October 06, 2024 @02:36AM
(#41755239)
Very unconvincing. If you become cleverer you can just write even more clever code and still not be able to debug it.
Re:Arthur Whitney's one liner sudoku solver
by chmod775 on Sunday October 06, 2024 @03:17AM
(#41755391)
Great!
Re:Arthur Whitney's one liner sudoku solver
by darkwater on Sunday October 06, 2024 @06:17AM
(#41756121)
This can probably true for some people, but still will not work for many other. One probable outcome of a frustrated debugging session is "let's rewrite/refactor it to make it easier to debug next time", and not self-enlightenment.
https://www.linusakesson.net/programming/kernighans-lever/in...