-
What is Haskell?
-
Why is Haskell hard to learn for programmers?
-
Short case study of why you should be using Haskell.
Haskell, a general purpose, purely-functional programming language.
Slides: banners/haskell.txt.
Haskell approaches programming from a completely different perspective than most programming languages. While imperative programming languages provide abstractions over instructions executing on the CPU, Haskell provides abstractions over concepts from mathematics and computer science.
It's the responsibility of the compiler to translate our formula-looking Haskell code into imperative instructions that run on the CPU.
Language comparisons:
This is just one small example of where Haskell makes a big impact in the quality of the products we create.
-
Null pointers and nil objects are a huge runtime problem in many languages. Don't believe me? Look at this and this.
-
Does it really make sense that
nilcan be substituted for any other type? Haskell doesn't think so. -
Haskell doesn't have a null or nil type. Instead there are much more powerful user defined types that serve the same purpose but are completely safe because they don't substitute for other types.
-
This removes an entire class of runtime errors and makes your code compile-time safe. Example code.
-
A more lengthy article about why you should be using Haskell.
-
More details about Haskell and how to learn it.
