3 ms·
> That made me wonder if ABCs could “hijack” a pattern match What's the hijack there? I'm really not sure what's the author's point is. He writes the code and
by jerjerjer 4y ago
> That made me wonder if ABCs could “hijack” a pattern match
What's the hijack there?
I'm really not sure what's the author's point is. He writes the code and get's expected results back.
- Izkata 4y agoBased on other comments here, it seems like some people don't know the purpose of ABCs and are assuming they're more like a class definition for classes that have to be directly inherited.
- kortex 4y agoI've been programming python for years, consider myself extremely knowledgeable in it, and...uhh... yeah TIL I've been using ABCs wrong.