Reverse switch?
I recently saw something that caught my attention and I called it Reverse Switch. Probably there's a better name.
A conditional switch where the expression takes boolean constants (true or false) and the switch cases take expressions.
Some like thi...
blog.gabrielrufino.com1 min read