Cevin Ways
Sep 30, 2022

thank u chandra for asking, switch case is best for checking one variable and only checking whether the variable value is the same or not with a certain value. on this article scope is when we have to check more than one variable, that's why i use guard clauses. hope my answer fit w/ u

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Cevin Ways
Cevin Ways

Written by Cevin Ways

Software engineer 👾 | Flutter Dev 🦉 | Tech Enthusiast 👨🏻‍💻

Responses (1)

Write a response

I see, thanks for the answer