3 ms·
"Code sharing is a bad idea." What? He lost me there. While that fellow clearly knows a lot more about OOP than me, statements like that, which are not exact
by guenthert 5y ago
"Code sharing is a bad idea."
What? He lost me there. While that fellow clearly knows a lot more about OOP than me, statements like that, which are not exactly self-evident and go against prior best practices ("don't repeat thyself") need to be justified, otherwise it just looks like just some other random dude's opinion piece.
- hynek 5y agoI thought that from context it was clear that it means “Code sharing _via subclassing_ is a bad idea.” which the whole previous section tried to establish. I have clarified the sentence.
- echion 5y agoIt's much clearer now, with your clarification. Thanks to you for the update, and to OP for the question.
- deleted 5y ago[deleted]