3 ms·
But now you need a ton of time to type things.
by progx 5y ago
But now you need a ton of time to type things.
- Tade0 5y agoOnly a problem if you're trying to be too inventive with it. For most cases it's enough to just define interfaces, enums and maybe bundle some of this into discriminated unions. Throw in some generics for good measure. That's not a lot of work. I've seen people do stuff like dependent types, but unless you're writing a library you don't actually need most of the type system's features.
- kaba0 5y agoThere is type inference. And also, it’s not a typing contest, if typing speed is your bottleneck in programming you are doing something really badly, I suggest plugging in the keyboard.