2 ms·
I see. Is it fair to say your issue with the feature is less about not wanting the feature and more about the implementation details?
by DangitBobby 5y ago
I see. Is it fair to say your issue with the feature is less about not wanting the feature and more about the implementation details?
- pansa2 5y agoActually, I don’t really want the feature. It’s complicated and it doesn’t really fit with the rest of the language (it breaks fundamental rules, as above, and has scoping issues). Worst of all, though, it’s really just another way to write if-elif-else chains that call `isinstance` - a pattern which Python traditionally discouraged in favour of duck-typing.