Re:Do I have to learn Functional Programming to get a decent...
by auslegung on Tuesday January 08, 2019 @05:28PM
(#18860381)
No. However, learning functional programming has been the best thing to improve my skill as a developer so far, so I highly recommend it
[ Parent
| on HN ]
Re:Do I have to learn Functional Programming to get a decent...
by phaus on Tuesday January 08, 2019 @11:45PM
(#18862342)
Are there any good books/resources to learn functional programming for a beginner?
I know the syntax for like 5+ languages but I've never made anything beyond simple command-line programs.
Re:Do I have to learn Functional Programming to get a decent...
by db48x on Wednesday January 09, 2019 @08:40AM
(#18864565)
I recommend Structure and Interpretation of Computer Programs by Sussman and Abelson. By the end you'll have learned functional, procedural, and object-oriented programming, and how they're related.
Both the book (https://mitpress.mit.edu/sites/default/files/sicp/index.html) and a series of video lectures based on it are available online (https://ocw.mit.edu/courses/electrical-engineering-and-compu...)
Re:Do I have to learn Functional Programming to get a decent...
by hackermailman on Thursday January 10, 2019 @09:05PM
(#18880435)
This Cornell gitbook is creative commons licensed and teaches both functional programming concepts and OCaml datastructures
wget -mkEpnp http://www.cs.cornell.edu/courses/cs3110/2018fa/textbook/
Plus this talk https://www.youtube.com/watch?v=DM2hEBwEWPc Effective ML is interesting, shows how to better write ML family programs so other people can read them, and making illegal states unrepresentable where he talks through splicing up interfaces to make them more robust by taking advantage of the type system.
Re:Do I have to learn Functional Programming to get a decent...
by auslegung on Wednesday January 09, 2019 @10:08AM
(#18865204)
Thinking Functionally was an OK book. We use Haskell and I’ve found Haskell from First Principles and Learn You a Haskell both to be very good for learning not only the language but functional programming in general.
Re:Do I have to learn Functional Programming to get a decent...
by snazz on Tuesday January 08, 2019 @06:52PM
(#18860995)
This. You might not need it, but the more paradigms you learn, the more easily you’ll be able to learn a new language for work. Once you’ve got the main paradigms down, learning a new language is basically just learning the syntactical idiosyncrasies.