This is a cool post from the author, though. I interpret this as more of an exploration of Python under the hood versus being a recommended production solution.
Python certainly could use a facility to do that based on an arbitrary predicate fn versus type comparison, though.
Python is well suited for this.. maybe it is time to throw a PEP in the ring.
This is a cool post from the author, though. I interpret this as more of an exploration of Python under the hood versus being a recommended production solution.
Python certainly could use a facility to do that based on an arbitrary predicate fn versus type comparison, though.
Python is well suited for this.. maybe it is time to throw a PEP in the ring.