4 ms·
>Second, real Enums added as a language-feature along with type-hinting are almost 100% on-par with statically typed languages This is conclusive proof that yo
by andrepd 6y ago
>Second, real Enums added as a language-feature along with type-hinting are almost 100% on-par with statically typed languages
This is conclusive proof that you're not actually aware of the capabilities of enums and sum types in "statically typed languages". Where's pattern matching? Exhaustivity checking? Sum types? GADTs?
- rumanator 6y agoC and C++ don't have some features in that list like pattern matching and there is no question that they represent one of the most popular statically typed languages in history.
- zo1 6y agoHonestly, over my nearly 20 year period of programming experience (half of which was not spent on python), I can't recall ever having encountered those terms/concepts. But on the plus side, I guess I have now and I'll be sure to read up on them. Maybe I know the concepts but haven't linked them to the terms.