by dleeftink · 1y ago · 0 comments
Types are needed for sure, but don't make up for the fact we have to prep our own meals from time to time, even the best recipes don't cover all variations.
With types, the scope of the variation is clearly stated, and if you want to expand the variation, it should be clear how to do so, depending on the flavor (e.g. union types, sum types, generics, sub types).
I think if we start to lean on types for our all recipes, we may forget how to prepare them without instruction.
If the modelling is trivial, the ROI is much lower (although the devx benefits still make it worth it to me)