Comment Re:Objective C (Score 1) 553
ObjectiveC lets you effectively says Cosine(Radians=3.14159) and Cosine(Degrees=180.0) and have those be polymorphic even though both arguments are floats
Actually, this example isn't a good one. What you are talking about still has 2 distinct method signatures. In obj-c, those 2 functions would be:
-(float)CosineWithRadians: (float)radians;
-(float)ConsideWithDegrees: (float)degrees;
Which in C++ would be something like:
float CosineWithRadians(float);
float CosineWithDegrees(float);
If you try to define the following in Obj-C, you will get a compile error because the CALLER doesn't pass the variable name, only the value (e.g. [target cosine:3.14]):
-(float)cosine: (float)radians;
-(float)cosine: (float)degrees;
So in this respect, the languages are the same (although you are correct that Obj-C does not resolve method invocations until runtime since it is message based)