http://www.haskell.org/haskellwiki/?title=Why_Haskell_matters&oldid=24286#Haskell_vs_OOP
The only thing Haskell does not provide is a way to group functions and data together into a single “object” (aside from creating a data type which includes a function - remember, functions are data!). This is, however, a very minor problem. To apply a function to an object you would write “func obj a b c” instead of something like “obj.func a b c”.
IMHO, this is not a minor thing.
Just Testing Syntax Highlighting
So let’s see, does it work?
#include <stdio.h>
int main() {
printf("Hello, World!\n");
return 0;
}
Seems like it does! Got this from Theocacao
My study of various other programming languages, static and dynamic, object-oriented and functional, compiled and interpreted, has lead me to realize that Ruby is indeed and excellent language and that Java is not.
I see the value in powerful type systems such as those in Scala or Haskell, but I’m not sure I’m willing to trade in my metaprogramming license just yet…