Re:Why Python is Slow: Looking Under the Hood
by skriticos2 on Friday May 09, 2014 @03:30PM
(#7722824)
In my experience the dynamic typing is very useful when you start to do collections and nested data structures. You easily create a mixed type nested directory tree with only a few lines of code without all that boilerplate.
[ Parent
| on HN ]
And because you can create them so easily, soon you end up with hundreds of them and you have no idea which one contains what :)
> You easily create a mixed type nested directory tree with only a few lines of code without all that boilerplate.
A similar thing can be achieved in Haskell, with the Typeable typeclass. The Scrap Your Boilerplate also fixes problems like this.
There has to be some use for dynamic typing when even Haskell (ghc) adds support for it, I guess.