DEV Community

Dhyanesh Siddhartha
Dhyanesh Siddhartha

Posted on

Qualities of Bad Code

  1. Excessive use of If-else in the code 2.Cyclomatic Complexity 3.Avoid Type checking (Instance Of) 4.Downcasting

Top comments (3)

Collapse
 
softwaredeveloping profile image
FrontEndWebDeveloping

Excuse me @dhyaneshsiddhartha15 , what exactly is the purpose of this post? Is it a joke?

Collapse
 
paras21 profile image
paras

examples code???

Collapse
 
dhyaneshsiddhartha15 profile image
Dhyanesh Siddhartha

Yeah sure! You on Twitter or Linkedin?