3 ms·
Good blog entry. I do like the direction C# is going with the dynamic type. I want a statically typed language, but I want the ability to have dynamically ext
by kenjackson 16y ago
Good blog entry.
I do like the direction C# is going with the dynamic type. I want a statically typed language, but I want the ability to have dynamically extensible type classification -- when I want it.
- lukesandberg 16y agoAre you referring to extension methods? Or the "dynamic" keyword/type? I've only used the dynamic type a little bit, can you use it to solve the type vs representation problem he is referring to? Thanks
- kenjackson 16y agoYes. Basically it works by using the class hierarchy to define types. And w/ subtype polymorphism you get new types that are also classified under their base types. And with dynamic you now get the ability to join the "uber type" and be classified dynamically.