DZone

You might not realize it, but you probably know when you see bad quality code. It might be written in a way that doesn’t make sense, be full of errors, excessively verbose, or highly inconsistent in its use of terminology and naming conventions. Fortunately, there are lots of ways you can improve your code quality, make it easier to review and test and reduce the pain later of having to fix all of the errors. Let’s take a look.

The Basics of Code Quality

Code quality refers to the attributes and characteristics of your code. These may differ according to your organization’s specific business focus and the particular needs of your team. While there’s no definitive checklist, there are broadly several things that separate good quality code from poor quality.

Source: DZone