Typeclasses in Translation
Java from a Haskeller's perspective; an explanation of why interfaces are sort of, but not quite, related to typeclasses.
Second-language learners first speak by translating what they want to say from their native tongue to the target language. That process is slow and error-prone. It’s better, when you can, to “think in” the target language; the same is true of trying to understand Haskell via connections to other programming languages.
Programmers usually learn “Haskell a…
Keep reading with a 7-day free trial
Subscribe to Type Classes to keep reading this post and get 7 days of free access to the full post archives.