Filter, Map, Reduce from first principles

Опубликовано: 24 Июнь 2024
на канале: Philomatics
4,580
339

Most developers have used filter, map and reduce at least once, but do you actually know what's going on under the hood?

If you like my style of teaching, I'd love to see you at my intermediate git workshop!
https://philomatics.com/git-workshop/

All code from this video:
https://philomatics.com/filter-map-re...

My other video on git rebase
   • git rebase - Why, When & How to fix c...  

Fixing merge conflicts:
   • Never fear merge conflicts again - gi...  

Video on `git pull --rebase`:
   • Never* use git pull  

How to change your default editor in git:
   • My most used git aliases  

Use the following command to change your default editor to VSCode:

git config --global core.editor "code --wait"

If you use a different editor, just Google "git set text editor to $yourEditor", it's usually easy to find.

Git Graph Extension for VSCode:
https://marketplace.visualstudio.com/...

If you don't use VSCode, you can also use SourceTree, which is free.
https://www.sourcetreeapp.com/

0:00 - Why filter, map, reduce?
1:23 - Higher-Order Functions
4:22 - Building up filter from scratch
7:17 - Map
8:28 - Reduce
12:00 - git cheatsheet

Thank you to Bruno Paulino for giving great feedback on drafts of this video!

LEGAL DISCLAIMER
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Everything here is for informational purposes only. All non-licensed clips used for fair use commentary, criticism, and educational purposes. See Hosseinzadeh v. Klein, 276 F.Supp.3d 34 (S.D.N.Y. 2017); Equals Three, LLC v. Jukin Media, Inc., 139 F. Supp. 3d 1094 (C.D. Cal. 2015).