Growing pains for typing in Python
Growing pains for typing in Python
Posted Jan 18, 2024 17:08 UTC (Thu) by pizza (subscriber, #46)In reply to: Growing pains for typing in Python by aigarius
Parent article: Growing pains for typing in Python
> As long as the objects have the methods that the other projects function is calling on them and those methods represent same kind of logical sense then it will just work
...except, of course, when it doesn't. Which is the entire point of this discussion.
BTW, the term for what you're referring to is "interfaces", and that is typically enforced by the same language mechanism that enforces typing. (It's routinely used in large/distributed Java environments in particular))
