It's a fine example. Are you saying that 3 case statements is too many?
Why optimize the code to support cases that don't actually exist yet?
Or even better, why optimize the code in ignorance to how it will need to be optimized in 2 years?
Why optimize the code to support cases that don't actually exist yet?
Or even better, why optimize the code in ignorance to how it will need to be optimized in 2 years?
No comments yet.