Recent articles from Everyday Superpowers
Supercharge Your Enums: Cleaner Code with Hidden Features
0Sign in to vote or save
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
I see a lot of articles suggesting you use enums by mostly restating the Python documentation. Unfortunately, I feel this leaves readers without crutial practical advice, which I'd like to pass on here. This is especially true since most of the projects I've worked on, and developers I've coded with, don't seem to know this, leading to more complex code, including values and…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.