Re:Python: Uncovering the Overlooked Core Functionalities
by pid-1 on Tuesday July 25, 2023 @07:06AM
(#36860571)
> it would certainly be interesting to program in a language where conforming to a protocol (perhaps one that nobody had thought up yet when you wrote your class)
Not automatic, but you could use a decorator + the protocol as type annotation, I think
Not automatic, but you could use a decorator + the protocol as type annotation, I think