News for hackers. Stuff that matters.
Re:Ask HN: Relationship between OO and functional programming? by LionessLover on Tuesday May 31, 2016 @02:35PM (#11808888)
They are orthogonal. Program in Scala and do both.

http://www.scala-lang.org/

Free course(s):

"Functional Programming Principles in Scala" https://www.coursera.org/learn/progfun1

"Functional Program Design in Scala" https://www.coursera.org/learn/progfun2

(There are two more free courses in the "specialization" - only the certificates and the capstone project cost money - original announcement http://www.scala-lang.org/blog/2016/05/23/scala-moocs-specia...)

Re:Ask HN: Relationship between OO and functional programming? by pekk on Tuesday May 31, 2016 @02:51PM (#11809045)
"Program in Scala" is just promotion, not an answer to the question. There are more than a few languages which advertise the possibility of using both OO and functional styles.
Re:Ask HN: Relationship between OO and functional programming? by mafribe on Tuesday May 31, 2016 @03:11PM (#11809223)
That's correct, but in which other ones is the integration so smooth as in Scala?
Re:Ask HN: Relationship between OO and functional programming? by ridiculous_fish on Tuesday May 31, 2016 @03:39PM (#11809513)
Swift, OCaml, F#, Common LISP?
Re:Ask HN: Relationship between OO and functional programming? by airless_bar on Tuesday May 31, 2016 @03:47PM (#11809585)
No?
Re:Ask HN: Relationship between OO and functional programming? by ridiculous_fish on Tuesday May 31, 2016 @03:59PM (#11809683)
I am not a Scala programmer. Can you please give some examples of how Scala integrates OO and FP better than other languages?