Comment

Comment by the__alchemist

Data classes and enums are the move, IMO, in python, to address the considerations of the article. Enums in particular have room for improvement, but I think they're good enough. (To use in place of common python patterns like strings for choices, or sets of booleans)

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton