Re:Fay: a subset of Haskell that compiles to JavaScript
by lucian1900 on Tuesday January 01, 2013 @07:38AM
(#4992500)
Its semantics are still silly and extremely error-prone.
Also, that's not the point. There's already Roy and Elm for simpler compilation and decent semantics with interesting features. Fay lets you share code between server and client.
Re:Fay: a subset of Haskell that compiles to JavaScript
by lucian303 on Tuesday January 01, 2013 @04:42AM
(#4992284)
Absolutely. I hate JS as much as the next person, but I hated the for lack of a better word, fuckedupedness, of dozens of languages and yet I still programmed in them. coughPerlcough
Elegance is never the primary concern of code. Readability is. And they are not the same thing. Even Perl can be made readable.
See for instance:
* https://github.com/clux/autonomy - prelude like thing
* https://github.com/clux/subset - basically Data.List
* https://github.com/clux/operators - currying helpers
* https://github.com/clux/interlude - a collection of the above 3
It has made my JavaScript development very enjoyable. JavaScript really doesn't suck have to suck. You can write very elegant code in it. It's just not as elegant as Haskell.