I haven’t written a switch statement for production in years.
Yep. I haven’t written a switch statement for production in years. I use action objects instead.
Eric Elliott
802

Just yesterday I noticed that I forgot the syntax for switch. It has been useless for me since I discovered action objects and the strategy pattern.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.