UPDATE: This post was so popular that I recorded a quick podcast about the reception and added a bit more color to my opinions. Listen here: https://thedailydeveloper.substack.com/p/is-duplication-complex Non-DRY specs are more maintainable because they are an excellent example of choosing duplication over the wrong abstraction, of writing code that posesses locality instead of compression, code that is simple instead of complex.
This is the key, in the end all that matters after code correctness is code readability and maintainability this is the aim.
All these patterns can only help in achieving this aim or sometimes even hinder if not used where it fits.
Applying patterns only for the sake of it is done only by inexperienced programmers and many can can stay on this level even after years of "experience".
> simple instead of complex.
This is the key, in the end all that matters after code correctness is code readability and maintainability this is the aim.
All these patterns can only help in achieving this aim or sometimes even hinder if not used where it fits.
Applying patterns only for the sake of it is done only by inexperienced programmers and many can can stay on this level even after years of "experience".