[Nota: he modificado el titulo del post para que sea más preciso. Tambien pongo el enlace al artículo que en la primera versión he olvidado.]
Que suerte, esta vez no va a ser yo el que lo dice. Un artículo en O´Reilly OnLamp comienza así:
"Let me start by being perfectly clear: if you are a professional programmer, then Haskell is in your future."
y en el tercer párrafo dice:
"Haskell is in a similar situation today. It is an esoteric language, yet stable and reliable enough for serious work. Perhaps you will learn Haskell, or even use Haskell on a real-world project. Even if you don't, ideas from Haskell are slowly finding their way into mainstream languages like Java, C#, C++, Perl, Python, and Ruby. Haskell is poised to have a strong influence over the next 20 years of programming and language design, just as Smalltalk has had an influence during the last 20 years."
Así que si todavía no te decidiste a aprenderlo, dale un vistazo y si tienes dudas puedes participar preguntando en esta comunidad.
Palabras clave: haskell, programación funcional
Comentarios
Bueno, como no vi el link acá esta: http://www.onlamp.com/pub/a/onlamp/2007/05/21/an-introduction
Pero para puntualizar, no esta escrito por Tim O'Reilly, sino por:
Adam Turoff is a software developer with over a dozen years of experience in building web backend systems with open source tools. His current project uses a mixture of Perl, Ruby, Rails, Haskell and other tools.
bueno.. tengo sólo una pequeña observación, las funciones map/filter han sido desplazadas en su uso por listas por comprensión, entonces el código que muestra:
filter(lambda n: n % 2 == 0, [1,2,3,4,5,6,7,8,9,10])
Sería más pythonico (legible, elegante, etc.. =P) de la siguiente manera:
[ n for n in range(1,11) if n % 2 == 0 ]
Prelude> filter even [1..12]
[2,4,6,8,10,12]
tambien se puede matematizar en Haskell con listas por comprension:
Prelude> [x | x <- [1 .. 12] , even x]
[2,4,6,8,10,12]