Weird, but Haskell feels easy

47 points by KnorrFG


owl

I used it for maybe 2-3 years, and I would have to agree. I don't know the mathematics, and I don't need to know; I can read a type signature and fill out the variables, and typeclasses didn't seem very different from traits or other interface-like features. I think higher-kinded types are less common, but if you know higher-order functions¹ from other programming languages, it's like that but with types I think. Getting to a working program didn't take long, and then parallelizing it was so easy.

That common typeclasses have "mathy" names (which seems to be a recurring complaint) doesn't make a difference to me. They're no worse than those funny Java classes. I wonder if language is a component, as it's all "foreign" to me anyway; SingletonProxyFactoryBean or Applicative, I can't understand either from looking at the words.

  1. Perhaps HKTs can be said to be the same thing but on the type level? So in a dependent type system they are really the same thing? I don't know.