Re:Seven deadly sins of talking about “types” (2014)
by sooheon on Saturday December 14, 2019 @11:29AM
(#21790300)
If the type is something generic like Tuple, it doesn't tell you what it means. If it's a type with domain semantics like Speed or Velocity, then goto your issue with naming variables.
Re:Seven deadly sins of talking about “types” (2014)
by mike_hock on Saturday December 28, 2019 @06:33AM
(#21898402)
No, but it tells me what types the tuple elements are, and thus indirectly (I know where to look to find out), how I can use them, and what calling functions on them will do.
It doesn't tell me their significance for the business logic, that's what variable names are for.
A type tells me what it is in any version of the program that the compiler accepts.