This question has been asked here, but received poor answers and didn't clarify the issue. I believe it justifies asking it again.I understand that you can have duck typing with either dynamically typed languages or with statically typed ones (but examples for these are rare, such as C++'s templates).However I'm not sure if there is such a thing as a dynamically typed language without duck typing.Duck typing means that the type of an object is based on the operations and attributes it has at a given point in time. Is there a way to do dynamic typing without inevitably supporting duck typing?Let's look at this Python code for exampe:def func(some_object)    some_object.doSomething()something = Toaster()func(something)In dynamically typed languages, the type of an object is only known at run time. So when you try to do an operation on it (e.g. some_object.doSomething()), the runtime has only one choice - which is to check whether or not the type of some_object supports doSomething(), which is exactly what duck typing is.So is it possible to have a dynamically typed languages without duck typing? Please explain.
Is it possible to have a dynamically typed language without duck typing?
programming languages;dynamic typing;duck typing