| ▲ | themafia 2 days ago | |
> starts to look like duck typing. Except you need a typed variable that implements the interface or you need to cast an any into an interface type. If the "any" type implemented all interfaces then it would be duck typing, but since the language enforces types at the call level, it is not. | ||