Live data from Hacker News

How Do I Learn Some Functional Programming?

fse.guru

1–10 of 17 posts

Re: How Do I Learn Some Functional Programming?

#2
I can recommend reading Practical Object-Oriented Design in Ruby by Sandi Metz to every programmer out there. This is so much important to understand basics of Code Design. Even if you think you will not be doing any functional or object-oriented programming, still, go ahead and read it.

Re: How Do I Learn Some Functional Programming?

#4
I am not sure if this article was a joke or somebody seriously think that functional programming should be learnt by Ruby, JS and Scala. I have learnt much more by using Erlang, Clojure and some parts of OCaml. Learning for just learning programming in general and getting into the most popular languages is a different subject though. If I was to learn FP I would start with Elixir and probably with Racket just to learn a LISP dialect. It is much fun.

Re: How Do I Learn Some Functional Programming?

#5

I am not sure if this article was a joke or somebody seriously think that functional programming should be learnt by Ruby, JS and Scala. I have learnt much more by using Erlang, Clojure and some parts of OCaml. Learning for just learning programming in general and getting into the most popular languages is a different subject though. If I was to learn FP I would start with Elixir and probably with Racket just to lear…

Considering the popularity of JS and Ruby as a first language for many new programmers, I could see the argument that it would be useful in the sense of getting them to understand basic functional concepts in a more familiar environment.

Although, I agree with you: a Lisp (probably Racket or Scheme) is a much better bet for learning the functional style.

Re: How Do I Learn Some Functional Programming?

#6

I am not sure if this article was a joke or somebody seriously think that functional programming should be learnt by Ruby, JS and Scala. I have learnt much more by using Erlang, Clojure and some parts of OCaml. Learning for just learning programming in general and getting into the most popular languages is a different subject though. If I was to learn FP I would start with Elixir and probably with Racket just to lear…

The book Functional Programming in Scala is widely regarded as one of the best books on functional programming in any language. It has very little to do with the Scala language and everything to do with how you would write purely functional programs for the real world (file systems, concurrency, etc).

Re: How Do I Learn Some Functional Programming?

#8
I can't recommend CIS 194 (http://www.seas.upenn.edu/~cis194/) enough. After a first weak attempt at learning haskell, following this course did it for me, and I've managed to write some significant haskell programs.

It covers all the fundamental abstractions found in functional programming, and the homework has some close-to-real-life examples that students must do.

5 stars.

Re: How Do I Learn Some Functional Programming?

#9
post #6

I am not sure if this article was a joke or somebody seriously think that functional programming should be learnt by Ruby, JS and Scala. I have learnt much more by using Erlang, Clojure and some parts of OCaml. Learning for just learning programming in general and getting into the most popular languages is a different subject though. If I was to learn FP I would start with Elixir and probably with Racket just to lear…

The book Functional Programming in Scala is widely regarded as one of the best books on functional programming in any language. It has very little to do with the Scala language and everything to do with how you would write purely functional programs for the real world (file systems, concurrency, etc).

Sadly you did not reflect to anything I wrote. I bet the Scala book is pretty good, however I would still learn programming from SICP if I just wanted to learn how to write purely functional programs. This is just a matter of taste.

Re: How Do I Learn Some Functional Programming?

#10

I am not sure if this article was a joke or somebody seriously think that functional programming should be learnt by Ruby, JS and Scala. I have learnt much more by using Erlang, Clojure and some parts of OCaml. Learning for just learning programming in general and getting into the most popular languages is a different subject though. If I was to learn FP I would start with Elixir and probably with Racket just to lear…

Considering the popularity of JS and Ruby as a first language for many new programmers, I could see the argument that it would be useful in the sense of getting them to understand basic functional concepts in a more familiar environment. Although, I agree with you: a Lisp (probably Racket or Scheme) is a much better bet for learning the functional style.

And SICP is a great book. :)
Post reply on HN