What are the main benefits of using Haskell for web development?

I am learning Haskell for excellent use .

I am pretty in OOP and in various types of systems. I used Java to develop webapps (Java EE, spring, Hibernate, struts 1.x), now I regularly use Python (pylons, django, sqlalchemy, pymongo) and Javascript. I had a huge improvement in my personal productivity: the easy approach, duck printing, awesome iterators, first-class citizens functions, simple syntax and configuration, quick tools like pip and distribute (and much more) helped me a lot.

But the first reason for improving performance is the Python language itself.

What are the main benefits of using Haskell for web development? For example, how can its type inference really improve my web application? So far, I noticed that when you decorate your function with your type signature , you add a lot of semantics to your program . I expect all of these efforts will come back in some way to preserve many lines of code and make them sound. I really like the sharp difference between types and data, I'm starting to understand how they work, but I want to return something: P

Don’t get me wrong, I just started to learn Haskell, so Maybe I don’t have enough confidence, but I really want to understand its paradigm and when it is worth using it.

+8
haskell
source share
1 answer

Most web applications tend to be stateless and handle concurrency well . It is also quite important to scale ( Google SEO reasons and user experience ).

Haskell is pretty good at dealing with these issues (although IMHO is more academic and perhaps less "human" intuitive).

This suggests that due to the lack of people working with dev web applications (compared to node.js), and that the traditional web application developer has been more focused on OOP minds, this can be quite difficult.

I had some problems trying to use it, as you can see in my following questions:

How to do automatic serialization of data data objects?

Incremental Data Modeling Processing Functional Programming Changes

+3
source share

All Articles