A series of Medium posts introducing functional programming in manageable bits and pieces
Posted by jpluimers on 2020/09/30
I have summarised the main topics of each part in this table of contents, and indicated at the time of writing which parts I did not get yet:
- [WayBack] So You Want to be a Functional Programmer (Part 1) – Charles Scalfani – Medium
- pure functions (only operate on input parameters: without side effects)
- immutability (no variables! loops through recursion)
- [WayBack] So You Want to be a Functional Programmer (Part 2) – Charles Scalfani – Medium
- refactoring leads to the need of higher-order functions
- higher-order functions: passing a function as a parameter, or returning functions as a result
- closure: when a returned function has access to the captured parameter(s) of the function creating the returned function
- [WayBack] So You Want to be a Functional Programmer (Part 3) – Charles Scalfani – Medium
- functional decomposition (I still need to wrap my head around this)
- point-free notation (same)
- both lead to currying (which I also need to wrap my head around)
- [WayBack] So You Want to be a Functional Programmer (Part 4) – Charles Scalfani – Medium
- currying: when you want to combine functions having different parameter counts
- refactoring based on currying (I still need to wrap my head around this)
- map/filter/reduce functional building blocks (I still need to wrap my head around this)
- [WayBack] So You Want to be a Functional Programmer (Part 5) – Charles Scalfani – Medium
- referential transparency (I still need to wrap my head around this)
- execution order: in a pure functional language the compiler can determine the order when functions are completely independent
- type annotation: I do not yet get why you would do without this
- [WayBack] So You Want to be a Functional Programmer (Part 6) – Charles Scalfani – Medium
- Functional JavaScript and ELM: two functional languages, of which Ramba can help make better JavaScript code
Via: [WayBack] So You Want to be a Functional Programmer (Part 1) Link to part 2 in the article. https://medium.com/@cscalfani/so-you-want-to-be-a-functional-programm… – Lars Fosdal – Google+
–jeroen
Leave a Reply