Five interesting ways (and one boring way) to use Array.reduce()
I had the pleasure of writing an article for this year’s 24ways Advent Calendar: Five Interesting Ways to Use Array.reduce()
(And One Boring Way).
If you’ve struggled to wrap your head around the Array.reduce()
method, or just want to learn some cool things you can do with it, this article is for you.
There’s a ton of good stuff in this year’s series. My favorites include:
- Julie Grundie shows you how to build a custom autocomplete select menu
- Amy Kapernick explains how to test the front end (spoiler: there’s a lot of performance and accessibility testing that needs to happen, not just JS.)
- Michelle Barker looks at how to create beautiful scrolling experiences with only CSS (But CSS isn’t a real programing language, right? Take that, haters!)
- Laura Kalbag urges you to build a personal website, if you don’t have one already
- Andy Bell talks progressive enhancement
- Frances Berriman digs into one of my favorite topics: how to make sure the web works well for the next batch of people just connecting for the first time
- Rachel Andrew recalls the history of CSS (where it’s headed next)
- In what is undoubtedly one of the coolest uses of modern web technology I’ve ever seen, Chris Mills shows you how to build a web dictaphone
If you’ve got time this weekend, lots of good stuff to dig into here!