|
|
|
|
|
by davidjnelson
3264 days ago
|
|
Great points. > multiple if-elses encoding the business rules A good architect would add a linter with a cyclomatic complexity check that fails the build. There's always a way to avoid these hideous nested else ifs. Code review is helpful here to train people who don't understand some of the various abstractions to avoid this such as polymorphism. This is also the code that has high value for unit tests. |
|