Nick Drane

  • Hire Me
  • About Me
Thu Sep 28 2017

Using Reduce

My first introduction to functional programming was a couple years ago when I read through the famous SICP. As someone who had up to this point worked with mostly in object oriented and imperative languages, I had rarely seen map, fitler, and reduce before that time. The purpose of the former two felt obvious; the latter one not so much. This blog post is geared for someone who knows how reduce works but feels like they struggle to use it practically.

Most Popular Posts

  • Scraping the Web with Puppeteer: Lessons Learned
  • Build Your Own Nested Query String Encoder/Decoder
  • Build Your Own Regex in Less Than 40 Lines of Code
  • Write Your Own React-Redux Connect
  • The Hidden Costs of PostgreSQL's JSONB Datatype

Most Recent Posts

  • Manipulating Raw HTML in Node with the Visitor Pattern
  • Optimizing Gatsby Build Times for Large Websites Using pageContext
  • One Simple Performance Tip to Optimize GatsbyJS Static Sites
  • A Deep Dive into JavaScript Static Site Generators: Gatsby vs. Hexo
  • Using Shell Commands to Effortlessly Ingest Line-Delimited JSON into PostgreSQL

categories

  • Architecture (1)
  • Build Your Own (3)
  • Functional Programming (1)
  • Gatsby (3)
  • Immutability (1)
  • JavaScript (3)
  • Javascript (2)
  • Postgres (2)
  • React (2)
  • Redux (1)
  • Regular Expressions (2)
  • Shell (1)
  • Software Ethics (1)
  • Technical Hiring (1)
  • Testing (1)
  • Web Scraping (1)