Re:Dijkstra on Haskell and Java (2001)
by incompatible on Sunday January 18, 2015 @06:08PM
(#8909363)
Yes, how statically-typed languages deal with dynamic data is one of the interesting features of type systems. In C for dynamic types you resort to void *, in Go it's Interface{}, but in OCaml you can construct a type that identifies exactly what you need.
[ Parent
| on HN ]
There are no comments on this comment yet.