News for hackers. Stuff that matters.
Re:Why Java folks should stop looking down on C#: difference... by lurker19 on Monday May 23, 2011 @01:47AM (#2575082)
Why is it reasonable or desirable for a programmer to expect that switching to a new version of a library should have no effect on dependent code?
Re:Why Java folks should stop looking down on C#: difference... by teyc on Monday May 23, 2011 @02:47AM (#2575181)
the problem runs deeper. When version 2 of the ThirdParty class ships, suddenly your class doesn't work. If another team has subclassed your class and overridden your printResult routine, you are effectively stuck. You can't take in bug fixes that exists in version 2 and the other team effectively couldn't move forward either. Remember, this is best practice OO, and there really hasn't been any changes to the interface. So effectively this is like version 1.01.

It is namespace pollution of a very subtle and devious kind.