Unnecessary Conditional Checks

in NodeJS

Misuse of conditional statements are not only hard to read, but also more complex for the processor.
Today, I want to underline some points about misused or over engineered conditional statements.

This image makes me smile everytime I see, and is a very good fit for our topic :)

So what do I mean about misused or over engineered conditional statement. I guess, some of these examples may bring up discussions, please comment with your rejections or approvals. I am always open for critics and learn from anyone.

Let me underline that the concepts I discuss is more applicaple if you are using ECMAScript5 and above.
Continue reading

  • page 1 of 1
Author's picture

Volkan N. Metin

Father of 2 beautiful kids
Computer Engineer
Software Development Adventurer

Software Development Manager

Istanbul, TR