Michael Torrie <torr...@gmail.com>: > You have no intention of being impressed with C++, let alone simply > learn about it.
I am fully open to being impressed. I have more than a decade of C++ programming under my belt, although not much for the past few years. > There's no possible way for the compiler to know the arity of > the function without you telling it (how else would you do it? Somehow, C# manages it just fine. > I honestly want to know.). See <URL: https://msdn.microsoft.com/en-us/library/aa288459%28v=vs.71%29.aspx> > That you would find this fact to be incredulous suggests that you have > very little understanding of compilers in general. Python being a > dynamic, interpreted language can examine a function at runtime. C# does it at compile-time. C++ could have and should have introduced delegates early on. The method pointer syntax was screaming for delegate semantics. Too bad that didn't occur to Stroustrup until it was too late. > I'm a little unclear as to why you're even bringing up the comparison > with C++. What's your point? To feel superior? I really don't understand why you are taking all of this so personally. We are just discussing different aspects of different programming languages. Marko -- https://mail.python.org/mailman/listinfo/python-list