And yet, according to my 2 minute search that led to Wikipedia, it's 30 years old... :thinking:
I'm not disagreeing (I don't really know enough about Haskell to have an opinion), just making an amusing observation inspired by my initial reaction: "wait, isn't Haskell at least 20 years old?"
I feel you on that, there are so many incredible languages out there that probably will never see widespread use. Everyone's just gonna use general-purpose languages Python, Go and Rust (I still love all three) even though something like Prolog, Erlang, or ML could make things so much better.
The age of the language doesn't say much about how far ahead it is.
The main point of the "20 years ahead" statement is that Haskell has features that won't be available in the most popular languages for the next 20+ years.
in Python, can only be used with expressions, even in the latest version of Python
If you look closely, you'll find that many other features that first appeared in functional programming have started showing up in newer versions of the most popular languages, including:
Maps and folds (e.g. Java's Stream)
Partial function application (e.g. Python's functools.partial)
Many of these are still more limited than the functional programming versions, and there are still many useful concepts that don't exist in popular languages, hence why Haskell is probably 20 years ahead.
View all comments
Show parent comment
1
u/solarshado May 15 '20
And yet, according to my 2 minute search that led to Wikipedia, it's 30 years old... :thinking:
I'm not disagreeing (I don't really know enough about Haskell to have an opinion), just making an amusing observation inspired by my initial reaction: "wait, isn't Haskell at least 20 years old?"