3 ms·
Erlang is much easier than Haskell. Haskell breaks my mind, but Erlang is easy-peasy.
by taybin 13y ago
Erlang is much easier than Haskell. Haskell breaks my mind, but Erlang is easy-peasy.
- theophrastus 13y agoI have picked up my copy of "Real World Haskell" (Bryan O'Sullivan et.al) about three times; each time ended up nearly starting over and each time making it about ten pages or so more in, (i guess it's a recursive language at several levels). It's a fascinating approach, but egads, it requires a thousand fold more effort to get into than any other language i've learned. somewhere between the monads and the syntax..[hollywood car explosion] somehow Haskell makes me feel bad about myself; like an ultra strict grade school teacher.
- nousernamesleft 13y agoI'm always baffled by these kinds of statements. I learned ocaml first, so haskell wasn't too big a leap for me. But I did get to watch my wife go through the process of learning haskell, and she didn't have any more problems than learning any other language. My wife is a web designer. She has no interest in programming. She taught herself PHP and javascript because she needed to use them. When she finally got to the point where she couldn't tolerate PHP's shittiness anymore, she asked me what she should use instead. I said "scala is a good choice, or you could just skip a step and go straight to haskell". She tried both, decided on haskell because she didn't like lift or play, and proceeded to teach herself haskell. She has never read real world haskell, or even learn you a haskell. I just asked her what a monad is: "Beats me, just use do and the arrow things". She's already finished two big websites written in haskell. This idea that you need to be a compsci phd or something to use haskell is simply not reality.
- vertex-four 13y ago> This idea that you need to be a compsci phd or something to use haskell is simply not reality. The fact that there is so much maths talk surrounding Haskell really doesn't help. And I've watched many, many discussions about Haskell go into deep arguments about category theory. I want to write a program, not write a computer science paper.
- nousernamesleft 13y ago>The fact that there is so much maths talk surrounding Haskell really doesn't help Nor does it hurt. It only provides something for people to point to while they say "look, people are talking about something I am not interested in, therefore haskell is too hard and I shouldn't bother trying". >And I've watched many, many discussions about Haskell go into deep arguments about category theory You are not required to participate in any discussions you don't want to participate in. >I want to write a program So do it? The whole point of my post is that it is perfectly simple to do so. If a non-programmer can teach herself haskell and be productive with it, there's no reason a programmer can't.
- vertex-four 13y ago> So do it? A huge part of a programming language is, in fact, its community. I'd say that's more important than the language itself; any given feature can and will be replicated, but the community cannot be. I cannot get the maximum out of Haskell if I cannot get involved in its community, which is heavily CS-oriented.
- nousernamesleft 13y agoIf you don't want to learn haskell then don't. It is the weird insistence on making up ridiculous excuses that I have a problem with. Making up a strawman version of "the haskell community" is entirely unnecessary. Once again, a web designer with no CS education of any sort can do it without any problems at all. Your excuse is obviously baloney.
- gloob 13y agoIt's unclear to me whether you want "to write a program" or to "get the maximum out of Haskell". Those are two very different goals.
- vertex-four 13y agoThe thing is, I can write a program in any language. The reason for learning a new language would be to learn a new way of thinking, to "get the maximum out of it". If I can't get involved in its community, I can't do that properly.
- virtualwhys 13y agoI would like to see these 2 big sites that your wife has single handedly done in Haskell with a "just use do and the arrow things" understanding.
- MBlume 13y agoI've read both Real World Haskell and Learn You a Haskell. Read Learn You a Haskell, I suspect you'll like it much better.
- taybin 13y agoI like Real World Haskell a lot. The chapters on how to do real work like parsing audio files was fascinating to me. Too many functional language books seem to get hung up on the mechanisms like partials and reducing, but not on how I should use them with stateful tasks.
- eliah-lakhin 13y agoYes, but newcomers don't know that. First thing they see is old school algol-like spaghetti. :) Haskell looks much nicer.
- theophrastus 13y agowhat does this nicer non-spaghetti do? chunkWith :: ([a] -> ([a], [a])) -> [a] -> [[a]] chunkWith _ [] = [] chunkWith f xs = let (h, t) = f xs in h : chunkWith f t i'm sure that many here merely glance at that and understand it immediately. but as i typed above, it somehow makes me feel bad about my own stupidity. (no need for anyone to explain specifically what this tiny example does, (i actually happen to understand this one). the goal here is to admire the immediate obviousness of the syntax ;))