
Math & Programming
The moments where math and code actually meet
Evan Moon
6 chaptersRandomness, signal processing, type theory, monads. Mathematical concepts that show up throughout programming, explored through code.
01
Is the Randomness Your Computer Creates Actually Random?
Mid-Square Method, Linear Congruential Method, Mersenne Twister — the secrets behind random number generation algorithms
02
Do Developers Need to Be Good at Math?
Math is just a tool — good developers grow through logic
03
Efficiently Calculating Averages of Real-Time Data
Average calculation gets slower as data increases? Let's solve it this way!
04
Simplifying Complex Problems with Math
Think math is hard? Finding patterns makes problem-solving easier
05
Why Do Type Systems Behave Like Proofs?
From seeing type checks as compiler hurdles to reading type systems as logic
06
Beyond Functors, All the Way to Monads
Understanding Applicative Functors and Monads through TypeScript