Re:Writing a Compiler in Go
by stcredzero on Tuesday May 03, 2016 @05:02PM
(#11624220)
Everything in Smalltalk was pretty much polymorphism, lambdas, and reflection. I suspect that's why I like golang. (There are a few other tricks, but better not to go there unless you really know what you're doing.)
>Everything in Smalltalk was pretty much polymorphism, lambdas, and reflection. I suspect that's why I like golang.
Huh? While it has both, Go is as far from lambdas and reflection as you can go and still be modern language.
My real point here is use what you've got; trying to use object polymorphism in Haskell would be as big a mistake there as trying to naively jam pattern matching into Go. Stick to the native idioms as much as possible. While I agree that Go's native idioms are limiting compared to some other languages I also think a lot of people grossly overestimate the limitations.