3 ms·
How is Functional Thinking? I'm starting to write a toy SAT solver in scala and I could probably benefit from some good,non-trivial design examples
by jeanmichelx 9y ago
How is Functional Thinking? I'm starting to write a toy SAT solver in scala and I could probably benefit from some good,non-trivial design examples
- jeremy_k 9y agoI really enjoyed Functional Thinking, read it a few months ago. Its a very good introduction to get yourself thinking... functionally! All the examples are Java 9, Scala, Groovy, or Clojure, which isn't my cup of tea since I don't write code on the JVM, but its more about understanding the concepts (and shouldn't be an issue for you). A quick rundown of some high level keywords I jotted down while reading. Map, Reduce/Fold, Filter, Apply, Curry, Partial Application, Memoization, Lazy Loading / Streams, Either / Option in Scala.
- jeanmichelx 9y agoThank you, I'll probably pick it up
- vorg 9y ago> All the examples are Java 9, Scala, Groovy, or Clojure Some of those languages are more functional than others. I'd put them on a scale from least functional to most like so: Java 8 (least functional) Apache Groovy Java 9 Scala Clojure (most functional)