Tagged in

Refactoring

Team Rockstars IT
Team Rockstars IT
Tech articles.
More information
Followers
110
More, on Medium

if (isChainedIfElseStatement) then Polymorph

Today I was working on my Encore! game. A project that helps me to learn Kotlin. And right when I was adding another if/else statement to the chain used for checking valid cell selection, Uncle Bob tweeted this friendly reminder: