New answers tagged

2

Strongly-typed preference structures Avoid using a dictionary for rama_preferences. We aren't in JavaScript: Python has actual classes, and there are light-weight options such as @dataclass. That last option in particular supports good type hinting, which will lend your program better structure and testability. The code directly after Read in the expected ...


Top 50 recent answers are included