![Stephan Meijer Profile](https://pbs.twimg.com/profile_images/1488857935589650434/mieOJLzr_x96.jpg)
Stephan Meijer
@meijer_s
Followers
3K
Following
17K
Statuses
18K
Dutch, European, Developer using Node, React and GO. Open-source Maintainer. Blogger when inspiration strikes.
Europe, Netherlands
Joined April 2009
@KirillTregubov_ While writing the above, I removed my butterfly link, because I worried that my reply then would be hidden. And now I don't call the product by its name for the same reason. That shit we don't have at the other place.
0
0
2
@_FoxtrotMichael Though, I might also go without switches and ifs, and only have pattern matching. 😅. I guess my biggest issue with switches (is their strength) - is that they only check a single value.
0
0
1
@_FoxtrotMichael What about extracting it to a separate func, and using early returns? Then there's just if, no else if/else. I barely ever write switch statements or elses.
1
0
0