DEV Community

Discussion on: 5 SOLID principles with JavaScript. How to make your code SOLID

Collapse
 
jwp profile image
John Peters • Edited

Our year long project received two major specification changes last week.

The work involved major project folder moves as well as major gui layout and work flow changes.

Fortunately we adopted SOLID from the start.

Result was four days of work.

Had we not followed SOLID, the time would have been four to eight weeks.

It's much easier to work on small Singlely Responsible parts whose changes don't affect any upstream or downstream part.

To weave in and out of monolithic code is just bad.