by stevenjohns · 5y ago · 0 comments
Personally I’ve never needed to use the Enum class, ever, in the last five years of Python development. It takes barely any time to implement a custom replacement if you need one, but for 99% of my use cases a dictionary or tuple has been enough.
So yes you can always use something else just like all the fold/zip/map can be replaced with also something else ;)