tags:

views:

78

answers:

2

Do you think the new dynamic type for C# is a serious drawback regarding the advantages of a strong typed language or do you think the advantages (like getting around those heavily reflections) outweigh the risks?

+4  A: 

As long it isn't used in the wrong places I think it's a great addition to the language and framework. To use dynamic just because your lazy is a bad thing but when you really need it (COM, interaction with javascript and what have you etc) it's great!

JWL_
+4  A: 

The main use of the dynamic keyword appears to be for ASP.NET interaction where you are working with a weakly typed language like Javascript, or for passing parameters inside ASP.NET MVC helper classes in a view.

I don't think any experienced C# programmer will start to use it for a replacement of the type system, and if they did they'd be shot down fairly quickly.

Chris S