(def shef 35) Refactor my Code Session
- functions in OO languages that don't have functions
- inline to function
- conditionals
- simple loops (eg. list of order IDs to the order values)
- stateful loops (eg. list of order values to sum or highest value order)
- nested loops
- more complex loops to plain recursion
- capturing context with partial application
- composing functions
- changing things in an immutable world
- memoization
- mutability as an optimisation
- more?