|
|
|
|
|
by keithasaurus
393 days ago
|
|
For me the variation is one of the places where dynamic typing gets really dangerous, because as variations increase, the requirement for code archaeology does as well. At some point there is enough variation that nobody could reasonably be expected to do enough code exploration to understand the full breadth of that variation. 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.