News for hackers. Stuff that matters.
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.
Re:Why Python is Slow: Looking Under the Hood by spion on Friday May 09, 2014 @03:44PM (#7722886)
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 :)
Re:Why Python is Slow: Looking Under the Hood by Dewie on Friday May 09, 2014 @06:55PM (#7723697)
> 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.