3 ms·
Or you could just not. I mean, you could just write out your code as if you already had the types specified and then fill in the boilerplate and fix errors afte
by chousuke 8y ago
Or you could just not. I mean, you could just write out your code as if you already had the types specified and then fill in the boilerplate and fix errors afterwards. That's essentially what happens with dynamic typing anyway, so the only major difference is that your IDE/editor might notice.
- victorNicollet 8y agoIn a statically typed language, the code will not run until I have convinced the compiler that it should. If I wanted to explore the behaviour of `frobnicate` before committing to a design, I would still have to define all those satellite types that may well become unnecessary.
- seanwilson 8y agoTypeScript lets you add the "any" type to say you don't care now. Solved?
- victorNicollet 8y agoI mentioned Typescript as an example of language where I could do this, so... Yes? Typescript is not a language I would say has a verbose type system.