Re:The state of type hints in Python
by yorwba on Thursday June 21, 2018 @12:56AM
(#17362263)
To call a method on a void* or a Java Object you first have to explicitly cast it to a type that has that method, which means that you need to declare a common interface and have each object explicitly implement that interface. Duck typing in dynamic languages doesn't require that level of ceremony.
[ Parent
| on HN ]
There are no comments on this comment yet.