DEV Community

loading...

Discussion on: What does code quality mean to you?

Collapse
kateh profile image
Kate (she/her) • Edited

Great question! I'm sure there's a lot more but at the top of my mind:

  • Easy to read and understand. This includes using variable names and methods that make sense. Also, when code is getting long and complex, abstracting out some logic to helpers or separate modules...
  • Well-tested!
  • Consistency! Does the code fit in with the rest of the codebase? Obviously there are exceptions to this such as when transitioning away from xx to yy, but if there's some sort of agreed upon guideline around styling (linters can help) or where things belong in terms of organization.
  • Being up to date on dependencies.
Forem Open with the Forem app