(no title)
keithasaurus | 9 months ago
dynamic types: go look through code, tests, comments and project history to try figure out what this data is supposed to be
dynamic types are exhausting
keithasaurus | 9 months ago
dynamic types: go look through code, tests, comments and project history to try figure out what this data is supposed to be
dynamic types are exhausting
dleeftink|9 months ago
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.
keithasaurus|9 months ago
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).
theLiminator|9 months ago
williamdclt|9 months ago
If the modelling is trivial, the ROI is much lower (although the devx benefits still make it worth it to me)
igouy|9 months ago
dynamic types: method parameter name gives the type and comment gives the method return type — conventions show what data is supposed to be
static types are disruptive and exhausting :-)