DEV Community

Discussion on: How would you define high quality code?

Collapse
 
xdefrag profile image
Stanislaw Mnizhek

Well, there is a lot of books, articles and talks for that matter, but all of them lead to two things: low coupling and tests.

If it's feature, it must be connected to codebase through interfaces and properly tested (mocks, benchmarks for critical parts etc).

If it's refactoring, tests must remain untouched.

Looks pretty simple, but it's not.