Is Haskell a meme language or actually worth learning?

Is Haskell a meme language or actually worth learning?

Other urls found in this thread:

ro-che.info/articles/2013-01-08-torsors
news.ycombinator.com/item?id=15028045
sics.se/projects/beamjit
twitter.com/SFWRedditGifs

It's worth learning for academic purposes. I learned recursion much more easily through Haskell

It has some uses and is interesting as a learning tool. Some of its features are solutions looking for problems though.

meme language of you want a job. it would be fine to learn just for fun though

best language ever

something something smart people use it

>Is Haskell a meme language
yes
>actually worth learning?
yes

>Is Haskell a meme language
no
>actually worth learning?
no*

*basically if you didn't teach it to yourself before the age of 20 like some kind of autistic savant you are already way too behind the curve to even bother. it has its uses in extremely high performance computing but 99% of the work you will do as an average developer will require you to work as a team with other average-level developers, and working on legacy code, and banging out quick solutions wherein "just werking" is a much higher priority than shaving clock cycles. imperative programming is much better tailored to all three of these scenarios.

What are those jobs that don't require me to work with average developers?

developing extremely fast number crunching algorithms for research institutions with acronyms like NASA, ESA, MIT, IBM, etc.

you have to hit the point where your time is actually more valuable than theirs and despite what most autistic pompous codemonkeys at Sup Forums think, chances are you are not at that level.

I study at MIT, fight me

this desu

>if you didn't teach it to yourself before the age of 20 like some kind of autistic savant you are already way too behind the curve to even bother
I did this but I'm a "125"iq brainlet

LISTEN NIGGER HAVE YOU MADE A INTERRUPT ROUTINE IN HASKELL!? THATS RIGHT YOU HAVENT BECAUSE YOURE A FAGGOT

Prove it.

>Haskell a meme?
Yes
>Actually worth learning
Yes

It allows one to think about coding differently than the average programmers, and when you've actually gotten above the learning curve, developing applications with it is just a breeze.

Learn Topology,abstract algebra and Category theory.

It is both. It is a meme as "the hardest language ever!!1 for math majors only!", etc., but it is also genuinely useful. First, Haskell lets you write the sort of programs that fashionable people write in Node.js and Go in fewer lines of code and with better correctness guarantees from the compiler. Second, learning it will likely make you a better programmer because you will get used to thinking about side effects and will consciously minimize your use of them.

One problem with Haskell is that it is old and its designers made some bad decisions before anyone really knew better. The result is bad function and type names, types that could been more general, and a pretty bad standard library, which in turn leads to things like a dozen different string types to replace the crappy standard strings. It is too late to fully fix Haskell, which is why I hope Idris succeeds so much it replaces Haskell. Idris simplifies the hell out of Haskell's type system with dependent types and fixes its old design mistakes. It is even strict.

>study at
>get paid to write software for

the fact that you are unable to distinguish between these two things is not a good sign for you

elaborate
What do you mean by "learned" recursion?
I "learned" recursion by reading the dictionary definition of it.

Fast numerics number crunching algorithms aren't written in Haskell. Haskell gives you too little control over memory to be particularly good at it.

The main thing Haskell is really good for is metaprogramming. You can easily implement domain-specific languages that your Haskell program can translate into fast C code or some platform specific low-level code like CUDA or an FPGA circuit. Haskell and ML family languages are amazingly good for quick and dirty compilers.

yep

If you don't have any reason to use a specific type of functional language then shortcut to F# and thank me later.

Its sorta like being into betamax or investing in hd-dvds

>if you didn't teach it to yourself before the age of 20 like some kind of autistic savant you are already way too behind the curve to even bother
Sometimes I really wonder what goes on in the minds of people who write stuff like this. Are they just higher-level trolls who have somehow survived on nu-Sup Forums? Are they giving what they think is useful advice based on second hand information? It's a mystery wrapped in an enigma.

Also,
>extremely high performance computing
>not Fortran and C++

Stack frames and tail call optimization, for starters.

The 5-min way to check if Haskell is for you is to read something like this: ro-che.info/articles/2013-01-08-torsors

If you're a decent programmer with a penchant for mathematics then you'll get a lot out of Haskell.

The only type of high performance computing functional languages are suited for is server backend programming (Elixir/Erlang).

I tried to write a Clojure program for my field (simulations) just for fun. It was interesting but nowhere near practical. In actual HPC you need mutable data structures and more practical approaches to concurrency (like MPI).

I program in C and Haskell mainly, and Haskell is actually pretty fast. It beats C in 90% of the benchmarks I do, both in terms of speed and memory footprint.

As a slightly memey example, my Haskell fizz buzz was literally 3x as fast as my C fizz buzz, and I consider myself pretty good at C programming.

Elixir/Erlang aren't high-perf. They're notoriously slow (on par with Python/Ruby).

>shortcut to F# and thank me later
news.ycombinator.com/item?id=15028045

>my Haskell fizz buzz was literally 3x as fast as my C fizz buzz
How do you even time stuff like that? Do you make it run for extremely high numbers?

Sorry, I wasn't clear. What I meant is that FP is good for more scalable performance (e.g. Discord, Twitter) than high performance in the number-crunching sense.

Yeah, BEAM is really bad at math.

There hope.
sics.se/projects/beamjit

Haskell is a meme. Common Lisp, Scheme and OCaml are all superior choices if you want a language with good FP support.

He is probably a dumb nigger who got admitted because of affirmative action. Further proof that "top universities" are a hoax.

Learning assembly will make you understand what's happening under the hood far better than any high level language ever will. Yes, even recursion.

>he thinks a fizzbizz benchmark is worth anything

You're misunderstanding. Assembly will only teach a programmer how hardware works, which any good programmer will already know.

Functional programming is a foray into mathematics and theoretical computer science. Assembly can't teach you anything about category theory, number theory, type theory, macros, STM, et cetera.

What does Haskell have over Lisp or OCaml?

Better memes
Monads

Lisp: better type system
Ocaml: an actual community, better multithreading support

Don't forget the Erlang family.

I haven't been able to finish reading lyah even though I'm peeping at it at job. It is so fucking dense I'm probably never going to end it.
Should I learn Idris instead?

>Any good programmer will already know
Very few programmers have any idea how shit actually works. If you need true high perf you still need to use C/C++ and know what you're doing, which means knowing all the magic and hacks that make a modern CPU tick.

It's a meme, you should learn functional programming to supplement your education but please don't actually make software with this shit