Deployed Math
summary
Explores using recursion in JavaScript to express mathematical induction and combinatorics, with concrete code for factorial (e.g., 5! = 120) and string permutations implemented by removing one character until an empty-string base case. Compares practical tradeoffs — clearer pure functions but higher time/memory cost — and shows recursive examples for flattening nested arrays and folder-like route structures versus using Array.prototype.flat when available; links to worked examples and math primers are provided.
AI-written summary · about
chapters (10)
- 0:00Web dev math
- 0:45What is recursion
- 2:11Mathematical induction
- 3:39Factorial example
- 4:22String combinations
- 5:48Recursion pros/cons
- 6:51When to use recursion
- 7:55Math for coding?
- 9:00Simple vs complex code
- 10:05Deep dive into math
related talks
01h 04mRecursion has never been invented: A tale of intrigue
36mRecursion, Iteration & JavaScript: A love story
38mRecursion, Iteration, and JavaScript A Love Story
49mGoing Functional with JS
39mFun with Functional JavaScript
01h 03mFunctional Programming in JavaScript
17mHow Does JavaScript Math?
48mIt’s birds all the way down: Fun Introduction to Lambda Calculus
