
Math & Programming
The moments where math and code actually meet
Evan Moon
8 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
How SVG Doughnut Charts Work — A Trigonometric Approach
The elegant intersection of math and code: building doughnut charts with animation
06
Why Do Type Systems Behave Like Proofs?
From seeing type checks as compiler hurdles to reading type systems as logic
07
Beyond Functors, All the Way to Monads
Understanding Applicative Functors and Monads through TypeScript
08
Why Identity Is the Hardest Problem in Programming
Get identity wrong and it won't blow up where you wrote it