Web Log di Adrian Florea

"You know you've achieved perfection in design, not when you have nothing more to add, but when you have nothing more to take away." Antoine de Saint-Exupery
posts - 440, comments - 2715, trackbacks - 3944

My Links

Archives

Post Categories

Image Galleries

.RO Blogs

.RO People

.RO Sites

Blogs

Furls

Links

vinCitori

The language spec does not need to be in agreement with the type system

Michi, in questo post del 6 settembre intitolato "Reflection in disagreement with language spec" su MSDN Product Feedback Center, nota lo stesso comportamento segnalato più volte da me qui, qui e qui (e poi anche da Corrado, qui e qui)

Ecco la risposta di Chris (Microsoft), due giorni dopo:

"In general, the language spec does not need to be in agreement with the Type system. Many languages have different type systems which they then map to the CLR type system. The CLR type system is defined in the ECMA specs -- specifically ECMA Partition II specification -- not any specific language spec.

While it's debatable if reflection should return the methods on object when reflecting over an interface -- I could argue either side. However, as we chose to do this in v1.0 the cost of changing that behavior would be breaking some folks and because the benefit is debatable we're not going to commit to making that change."

Print | posted on mercoledì 22 settembre 2004 18:23 | Filed Under [ Carillon .NET ]

Powered by:
Powered By Subtext Powered By ASP.NET