March 6, 2017

Why Do We Use Haskell?

Since 2016, RELEX has had Haskell (and some Elm) deployed in production. The experience has been extremely positive: a team of only a few people used Haskell to build useful, reliable and maintainable software that many rely on daily to get things done. New features and improvements are implemented constantly by a team of Haskellers that has grown ever since.

Haskell success stories are not rare. Today, Haskell is widely used in the software industry. Although it’s not as popular as Python/Java/C++, Haskell has many benefits compared to them:

  • Concise, high-level, practical and also very fast
  • An advanced system, which provides a lot of extra safety and flexibility
  • Concurrency is easy compared to many other languages
  • Many high-quality libraries
  • Good tooling and package management
  • Strong, healthy and very supportive community

Most importantly, it’s a very pleasant language to work with!

Of course, there ain’t no such thing as a free lunch: debugging performance issues can be tricky due to lazy evaluation and aggressive compile-time program transformations. And then there’s the psychological fright in needing to learn about monads in order to write a Hello World program.

There’s no denying that Haskell has a steep learning curve for most people. One could argue, though, that the steepness of that curve is almost entirely artificial. The only reason Haskell and its relatives are not more widely adopted is that CS educations around the world barely even mention these languages. It’s not easy to learn new concepts while also unlearning old habits.

At RELEX it is believed that best decisions are made by those who are experts in that area, regardless of their title or position. Thus, developers get to influence which technologies are used and when. In a new project, tech stack is almost always decided by the team working on that project. This has paved the way for also other less common languages, such as Elm, Kotlin and Clojure, to be used in projects.

We recently hosted a Haskell & Elm meetup at RELEX headquarters in Helsinki and ended up having a full house of enthusiastic developers join the meetup. It’s great to see that the interest in less used languages is growing and will hopefully also continue to grow in the years to come!

If you would like to read more about Haskell High Performance Programming, have a look at the book that I wrote about the subject.

Samuli is a DevOps and functional programming evangelist at RELEX. Originally from Finland, he now lives in Austria. He is experienced with Haskell and Linux systems and has a BSc from University of Helsinki. He’s interested in abstract mathematics, blockchain technology, reading books and articles about almost anything, hanging out with friends sometimes over a beer or two and playing badminton.

More stories

In our blog our people tell about their life at RELEX.

The Value of Values

February 6, 2018 The Value of Values Turning Ideals Into Actions so Everyone Wins For most companies, corporate values are nothing but a marketing tool. Featured on the website and in brochures. Once you are on the inside, you learn: It’s all BS. Imagine my surprise...

Saving Money and Reducing Waste

December 21, 2017 Saving Money and Reducing Waste A Change Should and Will Be Coming Soon We founded RELEX after doing years of research into supply chain with lots of focus on retail forecasting and replenishment. Back in 2004, before founding the company with me and...

Career Story: Matias Käkelä

December 15, 2017 Career Story: Matias Käkelä From 30 Employees to Several Hundred I first heard about RELEX while riding an escalator in Las Vegas. What I heard about RELEX was good: They were building interesting software with modern but proven technologies, had an...