Re:Choosing a Web Framework/Language Combo for the Next Decade
by jcromartie on Wednesday May 21, 2014 @09:42AM
(#7778127)
> Haskell discounts the very useful choice of reasoning about your code after it runs
Huh, I have never thought about it like that. Thanks.
Re:Choosing a Web Framework/Language Combo for the Next Decade
by knappador on Wednesday May 21, 2014 @06:16AM
(#7777448)
Pass in requests. Get responses back. Same input, same output, except for potentially dirtied DB hits. This is somewhat of a good fit for a functional language program that just handles request after request. For API's Haskell might be a great fit.
For server-side rendering of fat web clients, I don't see any way around node.js and my resentment of javascript without doing some impressive design of the client to be able to reinitialize itself from a JSON that pops out of the client state in the host language. It's possible, but I'm too busy with Kivy to mess with web development atm.
Haskell discounts the very useful choice of reasoning about your code after it runs, favoring, instead, all-upfront reasoning, often at the expense of facilitating the former. There are some domains where figuring everything up front is very important. Others, where trial and error is far more productive.
Trying unfamiliar things is very good advice, but not for an important project you want done relatively quickly, and which you'd have to maintain for years to come.