3 ms·
Both static and dynamic typing are useful. They should be available in the same language but that language doesn't exist yet.
by mabynogy 8y ago
Both static and dynamic typing are useful. They should be available in the same language but that language doesn't exist yet.
- scarface74 8y agoIt does exist. You can define all of your variables as "dynamic" in C#.
- mabynogy 8y agoInteresting. It looks like a variant or an object whose type list is only known at runtime. What I have in mind is a language able to convert functions calls from dynamic to static (and the opposite). If the compiler can infer the type, the call is static else dynamic (with multidispatch for function overload).
- scarface74 8y agoNot the old COM variant type. If I remember correctly, the old COM variant was C struct that wrapped a union of other COM types.