4 ms·
I always suggest people to learn Common Lisp or OCaml since they're easier to get into (OCaml is the easiest imo) if you want to get your head around the basic
by norea-armozel 9y ago
I always suggest people to learn Common Lisp or OCaml since they're easier to get into (OCaml is the easiest imo) if you want to get your head around the basic ideas of functional programming.
- marvel_boy 9y agoDo you recommend F#?
- flavio81 9y agoF# is a ML familt language so it should go well with the "ocaml" recommendation. Another vote for Common Lisp here. You can do functional programming but you can also "step outside" and do OOP, imperative (and other paradigms) if you need.
- pmarreck 9y agoI've had a ball with Elixir as my first functional lang, FWIW. Took a few seconds to bang out an immutable solution to the original problem: https://news.ycombinator.com/item?id=15019685 https://news.ycombinator.com/item?id=15019685 Of course, there's no mutation in Elixir (or the BEAM VM)... At all.
- yawaramin 9y agoI recommend something similar ... Prof. Dan Grossman's Programming Languages course in Coursera, taught using Standard ML: https://www.coursera.org/learn/programming-languages https://www.coursera.org/learn/programming-languages He starts by teaching statically typed functional programming with an emphasis on understanding semantics and idioms; then in the following modules he covers Racket and Ruby to compare and contrast dynamically typed homoiconic programming and object-oriented programming.