---
title: "Discussion on \"Reverse switch?\" | Hashnode"
description: "Discussion on \"Reverse switch?\". I recently saw something that caught my attention and I called it Reverse Switch. Probably there's a better name.\n\nA conditional switch where the expression takes boolean constants (true or false) and the switch cases take expressions.\n\nSome like thi..."
url: "https://hashnode.com/posts/reverse-switch/62366f25bef4c71aa6f10e81"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Reverse switch?](https://blog.gabrielrufino.com/reverse-switch?utm_source=hashnode&utm_medium=feed)

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...

Apr 27, 2021 · 1 min read · blog.gabrielrufino.com  
Read the article

## Written by

[Gabriel Rufino](https://hashnode.com/@gabrielrufino)

@gabrielrufino · Pernambuco, BR

  
[View profile](https://hashnode.com/@gabrielrufino)

Software Developer | Back-end

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
