Skip to content

Conversation

@tijnjh
Copy link
Contributor

@tijnjh tijnjh commented Oct 6, 2025

ripple recently added support for switch case syntax, i thought it would make sense to use those in this example :)

@matschik
Copy link
Owner

matschik commented Oct 7, 2025

Hi @tijnjh ! The purpose of the snippet "Conditional" is to mainly how to do if... else since it's used more frequently than switch. Since other snippets do not use switch, we must avoid to keep a better comparison between syntaxes.

@matschik matschik closed this Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants