DEV Community

Discussion on: How would you define high quality code?

Collapse
 
piotroxp profile image
Piotr Słupski • Edited

My opinion is that high quality code has the following characteristics:

  • takes at max a week or two to merge your first PR due to verbosity and good architecture
  • is enjoyable to read and modify even if written in a language that is not your primary one, allowing you to introduce changes quickly
  • uses good abstractions and is kept solid and dry

I think those three makings translate to ease of introducing change, quick developer onboarding, rapid prototyping and pattern-first programming, greatly increasing productivity.

Very nice question @julia !