To recap:
-
Special case code is evil.
-
Are there properties that a programming language must possess that enable programmers to write code that is free of special case code?
-
Is it theoretically possible to never have to write special case code?
Are you suggesting that, control flow constructs like "if" in the programming languages should be deprecated? If that is so, I strongly disagree.
Please take for example, following logic (written in pseudo-code),
if (age < 15) {
// do something
}
else if (age >= 15 and age < 30) {
// do something different
}
else {
// do something else
}
The above example, is a specific functional implementation driven by a real world requirement, that can only be implemented by programming constructs like "if".