Mohammad Faisal
Dec 14, 2020

All I can say is the writers of the book “Maintainable Javascript” think it’s a good practice to follow to write enterprise applications.

For me I think the ternary operators were not meant to do the work of if-else so following the rule can’t hurt.

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

Mohammad Faisal
Mohammad Faisal

No responses yet

What are your thoughts?