• Home
  • Posts
  • Books
  • About
  • KR
Math & Programming

Math & Programming

The moments where math and code actually meet

Evan Moon

6 chapters

Randomness, signal processing, type theory, monads. Mathematical concepts that show up throughout programming, explored through code.


  1. 01

    Is the Randomness Your Computer Creates Actually Random?

    Mid-Square Method, Linear Congruential Method, Mersenne Twister — the secrets behind random number generation algorithms

  2. 02

    Do Developers Need to Be Good at Math?

    Math is just a tool — good developers grow through logic

  3. 03

    Efficiently Calculating Averages of Real-Time Data

    Average calculation gets slower as data increases? Let's solve it this way!

  4. 04

    Simplifying Complex Problems with Math

    Think math is hard? Finding patterns makes problem-solving easier

  5. 05

    Why Do Type Systems Behave Like Proofs?

    From seeing type checks as compiler hurdles to reading type systems as logic

  6. 06

    Beyond Functors, All the Way to Monads

    Understanding Applicative Functors and Monads through TypeScript