C # dynamic types - heaven or hell?

Do you think that the new dynamic type for C # is a serious flaw in terms of the benefits of a strong typed language, or do you think that the benefits (like getting around these significant reflections) outweigh the risks?

+5
source share
3 answers

The main use of the dynamic keyword is used for ASP.NET interaction, where you work with a weakly typed language, such as Javascript, or for passing parameters inside ASP.NET MVC helper classes in a view.

I don’t think that any experienced C # programmer will start using it to replace the type system, and if they did, they would be hit pretty quickly.

+5

, , . , - , (COM, javascript ), !

+6

, . @JWL_, COM- # .

- , . , , switch . , .

TrackingParticipant.Track WF4. TrackingRecord (. ).

0

All Articles