a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by wildptr
wildptr  ·  4350 days ago  ·  link  ·    ·  parent  ·  post: First question: Which language should I learn first?

I'd learn Haskell too, if you're not into parenthesis.





user-inactivated  ·  4345 days ago  ·  link  ·  

I didn't like Haskell's syntax and it's too pure. Everyone knows that to get anything done, you need imperative-ness somewhere, that's where monads come from, but it's ridiculous. I like OCaml better as a statically typed functional programming language that takes the ideas of functional programming but leaves some imperative programming for when you need it.

wildptr  ·  4345 days ago  ·  link  ·  

Actually, I've been trying to learn Haskell for sometime, but I just can't wrap my head around the purity. Can you recommend a language(s) for me that combines functional and imperative paradigms?

user-inactivated  ·  4338 days ago  ·  link  ·  

JavaScript (sorta), OCaml (though like I said, it's statically typed), Scheme and the Lisps (seems like you aren't a fan of parens, I don't mind them (as you might be able to tell))

Unfortunately, that's it. All the combinations of imperative and functional paradigms that exist are leaning on the imperative side, and there are few mostly functional and partially imperative languages, imo. Try OCaml, it's got a good mix of functional and imperative: http://try.ocamlpro.com/