Skip to content

refactor(ripple): use new switch-case syntax in example 2-6#303

Closed
tijnjh wants to merge 1 commit into
matschik:mainfrom
tijnjh:ripple-switch-case
Closed

refactor(ripple): use new switch-case syntax in example 2-6#303
tijnjh wants to merge 1 commit into
matschik:mainfrom
tijnjh:ripple-switch-case

Conversation

@tijnjh
Copy link
Copy Markdown
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
Copy Markdown
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