Cookie Cutters
Tags that this post has been filed under.
I love cookie cutters (aka biscuit cutters) because they have intentional design. (maybe more so for their delicious results...)
I also like this idea in relation to code and designing a chunk of logic for a specific task.
Maybe you have a star shape, and now you need a gingerbread man.
Sure. You could change the cutter into that shape, but what do you do if you need the original shape?
If you find yourself routinely adjusting a component to accommodate changes in business needs, it might be a sign to create a new component (or a carefully considered abstraction).
Save yourself some hassle and just get a second cookie cutter...
If you incidentally make some delicious cookies/biscuits along the way, I'd say that is a win-win!