Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Haskell mature enough for web applications? [closed]

Seems that there are not much work done on Haskell for web. People uses it as a learning tool for functional programming more than business. Has anyone developed and deployed web application on Haskell, yet? Please, share the links.

The next session comments might change my mind and plan something else which could be also useful in terms of business. Guidance, Guidance, Please!

I'm planning to learn a functional programming language and I picked Haskell.

Is Haskell "cooked" enough to develop a commercial web application? Or should I start looking for other options, maybe even something other than a functional programming language, if it is worthy?

Investment in learning a language is very expensive and I want to make sure Haskell is really worth it to learn.

Guidance, Please.

like image 698
Ramiz Uddin Avatar asked Aug 10 '09 05:08

Ramiz Uddin


People also ask

Is Haskell good for web development?

With Haskell's type-system, you're very confident in making major changes at any point in the project lifecycle. So Haskell is a great fit for the kind of fast-changing web applications we're building.

Is Haskell used in 2022?

Yes, Haskell is worth learning in 2022 because functional languages like it are getting more popular among big companies like Facebook. Functional languages are typically ideal for big data and machine learning.

Why is Haskell not used in industry?

Haskell does not support building Haskell shared libraries on all platforms, and it does not have a backward compatibility story for upgrading Haskell libraries without breaking code dependent on those shared libraries. Curiously, this is also the reason C++ is not used for systems APIs.

What is Haskell not good for?

It's not as good and polished as rust's cargo but it's ahead several other languages. Still, as a language, Haskell is not ideal for teaching and productivity. There too many different ways of doing things (eg. strings, records); compiler errors need improvement, prelude has too many exceptions-throwing functions (eg.


2 Answers

Ramiz,

Your title mentions "commerical web applications," while your question doesn't, so I'm assuming that the end goal is to write a web application using a functional programming language.

If this is the case, I recommend that you start with yaws, a fast HTTP server written in the functional concurrent programming language Erlang. You'll learn the ups and downs of twisting PHP-like scripts into a functional mindset, much of which you can then translate into your work with Haskell.

If you'd really like to stick with Haskell, and the choice of language is more important to you than the general functional approach, then take a look at the Real World Haskell book. That will give you a sense of how the language solves common problems that you might be interested in tackling while you learn the language.

like image 160
Saketh Avatar answered Sep 29 '22 14:09

Saketh


As you learn new languages, the investment required decreases. Even if you start with Haskell, the functional knowledge you gain will help you learn other languages.

It also depends what language you come from. If you come from Java I'd suggest scala, if you come from .net I'd suggest f#

like image 25
Luke Schafer Avatar answered Sep 29 '22 15:09

Luke Schafer