4 ms·
> That's one thing I like about T, it's very self evident that it's just 'the' generic type. Code that has more characters just takes longer to read over and p
by seanwilson 6y ago
> That's one thing I like about T, it's very self evident that it's just 'the' generic type.
Code that has more characters just takes longer to read over and process as well e.g. having to mentally match up which variable names are the same and spotting patterns. Yes, use descriptive names where it helps which is the vast majority of the time, but for small functions where from context it's obvious e.g. `i` can be better than something like `customerReportIndex`, as well as your T example for a general type. Maths proofs would be tiring to read with long names for all the variables for example.