DEV Community

Discussion on: How would you define high quality code?

Collapse
 
lexlohr profile image
Alex Lohr

High quality code is

  • Maintainable: it must be readable, understandable, changeable, and easily removable
  • Effective: reaching the desired goal with the least mental/computational workload
  • Robust: fail only if neccessary, and then early and verbose
  • Secure: written with possible vulnerabilites in mind