DEV Community 👩‍💻👨‍💻


Posted on

What characterises quality code?

We all want to write quality code for our projects, but what defines quality code to begin with?

Top comments (1)

beabkal profile image

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.

We are hiring! Do you want to be our Senior Platform Engineer? Are you capable of chipping in across sysadmin, ops, and site reliability work, while supporting the open source stack that runs DEV and other communities?

This role might just be for you!

Apply now