data classes

Things I Learnt The Hard Way - If Your Data Has a Schema, Use a Structure

2 minute read Published: 2019-06-25

You may be tempted to use a list (or tuple, if your language allows) to keep your data if it has, say, only 2 fields. Don't.