Practical Programming Advice

Remove Your If-Else and Switch Cases

How to double the amount of code for the better.

Nicklas Millard
Published in
7 min readMay 6, 2021

--

Image by Nicklas Millard
Image by Nicklas Millard

I know what you’re thinking “double the amount of code?! Who is this nutjob.” And “you’re the reason a clock app takes 20MB.”

But, let's get one thing straight.

Lines of code have never been…

--

--

I mostly write to "future me" sharing what I learn and my opinion on software development practices. youtube.com/@nmillard | open for contracts in May 2024.