InLevel Up CodingbyNicklas MillardReplacing If-Else and Switch With Parametric PolymorphismHaving more classes does not equal higher complexity.Sep 20, 202118Sep 20, 202118
InThe StartupbyNicklas MillardBetter Software Without If-Else5 Ways to Replace If-Else. Beginner to advanced examplesJun 27, 202051Jun 27, 202051
InLevel Up CodingbyNicklas MillardIf-Else Is a Poor Man’s PolymorphismThe art of turning 6 lines into 92 lines by replacing if-then-else and switch with objects — for the better.Aug 24, 202028Aug 24, 202028
InLevel Up CodingbyNicklas MillardReplacing If-Else With Commands and HandlersHow to easily replace if-else statements. And no, a switch is not a suitable substitute.Sep 24, 202043Sep 24, 202043
InThe StartupbyNicklas MillardStop Using If-Else StatementsWrite clean, maintainable code without if-else.Jun 16, 2020104Jun 16, 2020104
InLevel Up CodingbyNicklas MillardWhy Cognitive and Cyclomatic Complexity Matters in Software DevelopmentThe two essential concepts determining understandability and testability.Jun 3, 20212Jun 3, 20212
InLevel Up CodingbyNicklas MillardRemove Your If-Else and Switch CasesHow to double the amount of code for the better.May 6, 202149May 6, 202149