4 ms·
I find static types useful for gaining that understanding. It's very helpful to clear up confusion in my head to start prototyping by writing down type definiti
by grumdan 7y ago
I find static types useful for gaining that understanding. It's very helpful to clear up confusion in my head to start prototyping by writing down type definitions and functions' type signatures without implementations before starting to write the actual code. Of course, this only works with a language where the type system is sufficiently painless and allows for such experimentation without a ton of boilerplate (i.e. the language is not Java).
- danmaz74 7y agoWhen I was using c++, the pain came when I discovered that I had to refactor my types because of some cases I didnt know about... Maybe that's easier with more modern statically typed languages.