3 ms·
I think dynamic typing is better for explorative programming, for getting something working quickly, and then you iterate. Static typing requires a little more
by 6ren 14y ago
I think dynamic typing is better for explorative programming, for getting something working quickly, and then you iterate. Static typing requires a little more upfront design - i.e. understanding what you're doing before you start.
I've thought that present web development is in constant flux, as businesses figure out how to get their data online; frameworks etc are also in flux. And so dynamic typing is beneficial. Then, once we've established the best way to do things, static typing will again become important...
But it could be that development - change - has accelerated, and will only get faster. In which case, whatever gets you to working, to iterating and adapting to change, will be favoured. Which is a pity, because I like static typing.
- cjh_ 14y agoLike the OP you are confusing static with strong and dynamic with weak; static typing has nothing to do with declaring types but with the compiler doing type-checking at compile-time, whereas dynamic only implies this type-checking is done at run-time.