News for hackers. Stuff that matters.
Re:What can I do with dynamic typing that I can not do with ... by darkstalker on Friday October 05, 2012 @09:29AM (#4616766)
That's what statically typed languages call "templates".
Re:What can I do with dynamic typing that I can not do with ... by lmm on Friday October 05, 2012 @09:35AM (#4616790)
Or "generics". That's what I was trying to say in my last line; you can do that, but only if you think to use them when you originally write the function.
Re:What can I do with dynamic typing that I can not do with ... by danieldk on Friday October 05, 2012 @09:51AM (#4616843)
Which is not far-fetched... E.g. when adding type signatures to functions in Haskell, one generally uses the most general possible types/typeclasses.