I like the idea of thinking about various code components as furniture!
In practice you can get by with a wild collection if non-matching furniture. It will be non-asthetic but it will work.
Code projects are quite similar in that regard. On the other hand sometimes it will be such a poor fit that it starts breaking things. Does that also apply to furniture?
Perhaps if you put the bed too close to the closet you can no longer open its door all the way...
There are also furniture pieces that are made to connect to each other. Some are obvious like peg boards, but things like sectional couches, too.
Then there are the myriad array of cabinet doors. And folks like heavy built-in cabinets, but Ikea ones are just fine. They typically have better hardware. But nobody wants to be the equivalent of an installer in software, it seems.
Since you said beds, consider getting the wrong size bed for a room. Or mismatched head and foot boards.
In practice you can get by with a wild collection if non-matching furniture. It will be non-asthetic but it will work.
Code projects are quite similar in that regard. On the other hand sometimes it will be such a poor fit that it starts breaking things. Does that also apply to furniture?
Perhaps if you put the bed too close to the closet you can no longer open its door all the way...