3 ms·
What makes Python's metaprogramming fundamentally different from the dynamic class generation that exists in statically typed languages such as C#? And what ab
by bunderbunder 14y ago
What makes Python's metaprogramming fundamentally different from the dynamic class generation that exists in statically typed languages such as C#? And what about it is facilitated by dynamic typing?
Part of why I suggest C# is that a lot of .NET libraries make heavy use of this functionality. Windows Communication Foundation, NHibernate, and Moq come to mind. So my impression had always been that it was approximately the same level of reflection, just with perhaps more syntactic sugar in one case.