News for hackers. Stuff that matters.
Re:Choosing a Web Framework/Language Combo for the Next Decade by tormeh on Wednesday May 21, 2014 @07:39AM (#7777664)
Yeah, but if the monads were the only problem it would be ok (for me at least). But I'm asked to learn monads while also learning this weird syntax. I'm asked to learn something I don't understand in a syntax I don't understand. It's a bit too much. Like a math lecture in which, aside from the new concepts, the lecturer has decided to replace the traditional symbols (+,-, etc) with his new and equally arbitrary ones (ยค, @). Except, of course, that Haskell's syntax is often more arbitrary than its competitors.
Re:Choosing a Web Framework/Language Combo for the Next Decade by mercurial on Wednesday May 21, 2014 @08:36AM (#7777853)
Do you have a few concrete examples, out of curiosity?
Re:Choosing a Web Framework/Language Combo for the Next Decade by tormeh on Wednesday May 21, 2014 @01:30PM (#7779506)
Well, I basically went "fuck this" after looking at Haskell for a while, but there's surfaced some links in the comments (thanks, akavel) and they provide some examples: >>=, >>, >, <$>, <$, <>, $, ., !!, !, <|>, :, ::, \, @, ~, -<, <-, =>, -> Taken together the syntax makes no effort whatsoever to be self-explanatory. I could handle it if it was the only programming language I would ever use, but in the polyglot world we live in and with my leaky bucket of a long-term memory this is not good enough.
Re:Choosing a Web Framework/Language Combo for the Next Decade by mercurial on Wednesday May 21, 2014 @04:26PM (#7780569)
I see what you mean. Most of these are custom operators which happen to be in the stdlib, but I wouldn't say :: or ->, for instance, should feel particularly mysterious with a bit of practice.
Re:Choosing a Web Framework/Language Combo for the Next Decade by codygman on Sunday May 25, 2014 @02:57AM (#7795703)
bind, ??, more than, fmap, ??, monoid, f $ x f(x), f . g . x == f(g(x)), x !! 1 == x[1], seq, ??... and \ is lambda.