2 ms·
The main problem that inheritance introduces -- is irrelevant references to methods and fields. If I want to see what code is using a method I am interested in
by dennisgorelik 7y ago
The main problem that inheritance introduces -- is irrelevant references to methods and fields.
If I want to see what code is using a method I am interested in, Visual Studio shows me all related code.
But if other developers overrode that method in their own classes, then in addition to seeing ~5 references I like to see, I have to sift through ~50 other references that are irrelevant to my investigation.
So 5 minutes investigation turns into 55 minutes investigation. As you can see, that "references spam" can easily slow down research and development 10x or more.