Yes, I know this is a joke. Still I found it so wasteful, I created a variant which is much more lazy, and starts with single case but then adds new if branches only after user provides unknown combination. This way it's self-modifying, self-learning, almost AI :-)
As another TODO - it should automatically create pull request each time it modifies itself - this would be real crowdsourcing ;-)
Yes, I know this is a joke. Still I found it so wasteful, I created a variant which is much more lazy, and starts with single case but then adds new
if
branches only after user provides unknown combination. This way it's self-modifying, self-learning, almost AI :-)As another TODO - it should automatically create pull request each time it modifies itself - this would be real crowdsourcing ;-)