DEV Community

Discussion on: What characterises quality code?

Collapse
 
beabkal profile image
Beabkal "Bab" Eshete

Hi Rose,

You can find many books out there written on conventions and widely accepted methodologies. But for me it boils down to three important things:

  1. Documentation: a well documented code will reduce the time and effort you spend on understanding it.

  2. Modularity: a code constructed to be modular will be easy to debug and change a certain part of your code without altering the rest of your program.

  3. Maintainability: this includes the other two and may encompass other agreed upon conventions. Mainly, the whole point of writing a quality code is to make it maintainable for a longer time.

As I said, there are several methods and conventions out there. This is my personal view.