How is duck typing different from the old ‘variant’ type and/or interfaces?
In some of the answers here, I’ve seen some incorrect use of terminology, which has lead people to provide wrong answers. So, before I give my answer, I’m going to provide a few definitions: Strongly typed A language is strongly typed if it enforces the type safety of a program. That means that it guarantees … Read more