Info
Bad code is code that is difficult to read, understand, and maintain for people familiar with the language and problem. It can be a result of poor design, lack of documentation, or bad practices.
Bad code doesn’t do what it should.
Should Bad Code Be Used As An Argument Against A Piece Of Code
Code may be intentionally left “bad”. This may have been done so we can fulfill real world demands faster instead of focusing too much on making our code look pretty. Pretty code doesn’t fulfill business needs.