4 ms·
Hogwash: > Picture a Lego castle, an intricate structure where replacing a single component often necessitates dismantling large portions. Now envision a b
by fargle 3y ago
Hogwash:
> Picture a Lego castle, an intricate structure where replacing a single component often necessitates dismantling large portions. Now envision a bag of marbles, where elements can be effortlessly swapped in and out. The goal of a well-structured software system should always resemble the latter. Properly applying SOLID principles leads to code that is modular and easily reconfigurable.
It's a bad analogy for one thing; try to get that third marble from the edge on the bottom row without disturbing the rest of them. And Lego is about the most "modular and reconfigurable" thing around.
But I'm sure that buzzwords, acronyms and principles like the "Onion Architecture" will take that big ball of mud and turn it into a bag of ... marbles?