top | item 41160943

(no title)

raidicy | 1 year ago

This is kind of the thing that's stopping me from learning Haskell. My first language is javascript and my fluent language is python. And, I just can't see really getting any work done quickly, fastly, and efficiently not in either of these languages.

Even though I am studying category theory right now I feel I have so little incentive to learn Haskell because I don't think I'll ever use it except with category theory. And I get that category theory is kind of like native to Haskell but I could still explore those concepts in a lisp but that compiles to Javascript or something.

My concrete example is the Haskell Web framework IHP. I tried to get it working on my windows machine for two days and couldn't get anything smooth to work. Granted I have rsi and cannot use my hands as much as the next developer. However, when new frameworks like fastHTML pop up where everything is on one python file and immediately ready to go, It's really hard to convince myself to go through the trouble and pain to get to the same spot with Haskell as I can with another language immediately.

discuss

order

dagw|1 year ago

Learning Haskell was very useful to me, not because I became a Haskell programmer, but because it made me a much better Python programmer. Approach Haskell, not with the goal of becoming a productive Haskell programmer, but with the goal of getting immersed in a new way of thinking about programming and computation.

rbanffy|1 year ago

This is also why I recommend something completely different as your next language to learn - learning something completely different will open your mind and teach it to see patterns you previously had no idea existed, just because you couldn’t see them. Haskell is an enlightening experience not unlike your first Lisp.

alabhyajindal|1 year ago

I'm currently learning Haskell and some mathematics (proofs, logic, sets).

I think Haskell's great. I got over my hesitation to learn it by accepting that it's a useless language. I just treat it as an intellectual exercise.

Web programming is very important and useful. Haskell is ill suited for it and it's ecosystem around it is very weak. You make a great point comparing it's experience with other options.

Post admitting Haskell's uselessness, I would put web programming towards the end, on a tier list of things to do with Haskell. If one of the goal is having a fun experience.

EDIT: Added more info