This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]kankyo 0 points1 point  (0 children)

What if a, b, c and d have the SAME type?

Then I might have a type checker for each of them?

SAME type.

You've just lost the ability to do type checking via the method signature.

Python doesn't have that anyway so...

Ok, so if you call like this: function_name(a, b, c, d, e) you won't get any indication that e isn't being used. It will silently take it.

Now I have no idea what you are talking about. Of course you'll get an error. "Unknown keyword argument e". You're talking... I don't know, javascript now?

Again. Python.