News for hackers. Stuff that matters.
Re:Choosing a Web Framework/Language Combo for the Next Decade by pron on Wednesday May 21, 2014 @05:55AM (#7777372)
I think Haskell underestimates people's intelligence when it comes to things like mind-simulating state change in simple subroutines, and overestimates it when it comes to understanding lazy evaluation and monads. Humans had built useful structures long before they've been capable of rigorous abstract thought. How? By trial and error. Most people find it easier to learn how to catch a ball by practicing rather than by calculating its trajectory. I'm not saying that is always the right approach, but it does come more naturally to the human brain.

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.

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.

Re:Choosing a Web Framework/Language Combo for the Next Decade by knappador on Wednesday May 21, 2014 @06:19AM (#7777454)
Whoops. MySQL. Nevermind. Everything is happy, everyone. I'll be going on my way now. Nice chat.