Mastodon Feed: Post

Mastodon Feed

collinsworth@hachyderm.io ("Josh Collinsworth") wrote:

They'll take away my developer card for admitting this, but: even though I do use switch statements whenever I have more than about three possible cases, I do it solely because I feel like I'm supposed to, and I still don't see any way in which a switch statement is better than a chain of if/elses.