Submitted by trekhleb t3_xvum4n in InternetIsBeautiful
trekhleb OP t1_ir4w2ls wrote
Reply to comment by jobe_br in Interactive sketches to illustrate SOLID programming principles by trekhleb
I guess the illustration with the "Spoon" + "Fork" instead of the "Spoork" still works, doesn't it? I mean if you want to change the "Spoon" functionality you just change the "Spoon" but not touching the "Fork", whereas the "Spoork" is going to be changed for two different reasons: when we want to change either the "Spoon" functionality or the "Fork" one.
jobe_br t1_ir5slha wrote
You’re going to have a strained analogy either way, but you might be able to come up with something that is more person centric. Your analogy focuses on the functionality of the spoon, fork, and spork, not the person’s needs - I could argue that a single person’s concerns are encapsulated by the spork, and as such it doesn’t need to be split up. Realistically, the existence of the spork gives credence to this - it wouldn’t exist if a separate spoon and fork were superior for all user needs.
Definitely change the text, though, either way.
Viewing a single comment thread. View all comments