I'm wondering what influence the optional and named parameters will have on interfaces and inheritance in general. Will a method parameter have to have the same name in an implementation as in the interface? This would help for code quality and maintainability. If not, will the compiler keep track of how a parameter gets renamed in the inheritance hierarchy or do all signatures get treated individually? Can a non optional parameter be made optional in an inherited method? What about the other way round?One more question: when will C# get XML literals like Visual Basic? I've been waintig for this since Comega...
Wolfgang
Ive worked a good amount between C# and COM. Optional parameters are nice, but i've found ways to work without them. I think allowing reordering of parameters is only asking for trouble. Especially in the talk the first thing talked about with this feature is how developers can screw themselves. I think it weakens the language to let things blow up at runtime rather than compile time.
Great that these things are possible but I don't plan on using them.
ive got a question about the method caching in the dlr..what if the arguments of a method is of type dynamic? lets say ive got a ruby int and a ruby string and i pass that into a ruby method M, all from c# (by calling libraries written in ruby for instance)how would the dlr cacher handle that? both the arguments whould be dynamic but actually contain diffrent types..im pretty sure the dlr handles it but it would be fun to hear more about that awsome work as always charles