News for hackers. Stuff that matters.
Re:C# Language Specification 5.0 by danbruc on Monday June 24, 2013 @10:58PM (#5937257)
Array covariance is another one. They added it because Java had it. And now they regret it.
Re:C# Language Specification 5.0 by elisee on Monday June 24, 2013 @11:32PM (#5937352)
Interesting. Did a Google search which turned up this explanation about why it's considered broken: array covariance means runtime type checks rather than compile-time checks, which are more expensive and could hide bugs that could be caught when compiling. (http://blogs.msdn.com/b/ericlippert/archive/2007/10/17/covar...)