DEV Community

Discussion on: How would you define high quality code?

Collapse
 
ben profile image
Ben Halpern

I like this a lot. "Accommodation to changes" accounts for readability, organization, testing, and a lot of other things bundled in.

Coding only for the problem at hand right now: Bad.
Coding for every possible future need: Bad.
Coding to solve current problems while being accommodating towards future modifications: Good.

Collapse
 
juliatorrejon profile image
Julia Torrejón

Coding for every possible future need: Bad.

I have seen this scenario a few times and it obviously delays the whole project because requirements keep changing and so does the code.