Pergunta de entrevista da empresa Clarius Mobile Health

Why did you write your if statement with multiple blocks when you could have written it using a single conditional?

Resposta da entrevista

Sigiloso

23 de out. de 2022

I found it easier to understand the logic when keeping the cases more distinct. I generally strive for code readability over brevity.