News for hackers. Stuff that matters.
Re:Goodbye, Clean Code by dragonwriter on Saturday January 11, 2020 @09:35PM (#22024080)
> The issue wasn't divergence. The issue was that there was no requirement that TextBlocks should behave like rectangles.

But they had the same current requirements. So, ideally, the implementation of the common behavior should have been shared but shared in a way which didn't tightly couple the two consumers with each other, so that it would be simple for either to stop using the shared code.

There are no comments on this comment yet.