News for hackers. Stuff that matters.
Re:Using Enumerated Types in Python by andrepd on Saturday June 06, 2020 @05:07PM (#23442231)
>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?

Re:Using Enumerated Types in Python by rumanator on Saturday June 06, 2020 @07:50PM (#23443401)
C 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.
Re:Using Enumerated Types in Python by zo1 on Sunday June 07, 2020 @07:27AM (#23446613)
Honestly, 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.