What can I do with dynamic typing that I can not do with static typing

Posted by Justin984 on Programmers See other posts from Programmers or by Justin984
Published on 2012-10-03T20:04:16Z Indexed on 2012/10/03 21:54 UTC
Read the original article Hit count: 462

I've been using python for a few days now and I think I understand the difference between dynamic and static typing. What I don't understand is why it's useful. I keep hearing about its "flexibility" but it seems like it just moves a bunch of compile time checks to runtime, which means more unit tests. This seems like an awfully big tradeoff to make for small advantages like readability and "flexibility".

Can someone provide me with a real world example where dynamic typing allows me to do something I can't do with static typing?

© Programmers or respective owner

Related posts about dynamic-typing

Related posts about static-typing