3 ms·
I don't experience any "dynamic woes". I am used to checking for whatever input is coming into my functions.
by gotofritz 10y ago
I don't experience any "dynamic woes". I am used to checking for whatever input is coming into my functions.
- Someone 10y agoWriting code that type-checks whatever input is coming into your functions may only take time, but what really are woes that you will have fewer of the stronger the type system, is that you have to design the code that runs when those checks fail. That designing requires thinking, and thinking takes your attention away from whatever your goals are, whether you are used to it or not. Strong type systems come with their own things that require extra thinking, but I think it is less than what is required to write robust dynamically typed code. Many projects don't need truly robust code. Then, the dynamic language may still win.
- gotofritz 10y ago> Strong type systems come with their own things that require extra thinking, but I think it is less than ... Well, that's your bias. As I said in practice I don't see a problem. And also, as I said, there are static analysers, and you really HAVE to have strong type you can always use typescript.
- vesak 10y agoPerhaps I'm doing a strawman here, sorry in advance. But you seem to imply that you implement strong type checking into all(?) your functions yourself and think that is a better solution than having your platform do it for you automatically and systematically. Or is it about the freedom of not doing it?
- gotofritz 10y agoI check when needed, and I think it's better than having to compile code, yes.