Intro to FP

in JS and C#

Map

Why would I use this?

  • Less code = fewer bugs
  • Imperative vs declarative
  • Less mutation
  • Decouples iteration and logic = re-use

Filter

Reduce

Made with Slides.com