News for hackers. Stuff that matters.
Re:Why type hinting sucks (/r/Python) by ghostwriter on Saturday February 11, 2023 @10:22AM (#34753107)
* Declare `slow_add` to be used with instances implementing `__add__` protocol only.

* Declare that `concat` should be used to achieve a similar result with other types implementing `Foldable` protocol.

* Carry on.

There are no comments on this comment yet.