4 ms·
So types solve this right? Or am I misunderstanding?
by Graffur 4y ago
So types solve this right? Or am I misunderstanding?
- imankulov 4y agoI'd rather phrase it as "well-defined data structures help maintain your app." In another comment, leetrout recommended using named tuples. They define a list of their attributes without saying anything about their types, and this may be a perfect choice for some scenarios.