Math For Programmers — cover art: a small fox-scholar in a waistcoat and round spectacles sitting at a Victorian study table, deliberating over a still-life of mathematical instruments — an abacus, an orrery, compasses, a triangle, a slide rule, an open notebook of abstract diagrams. 👍

2006 · Stevey's Blog Rants · Rant

“Math is a lot easier to pick up after you know how to program.”
— From Math For Programmers, March 2006
Read the essay

© 2006 Steve Yegge. Originally published at Stevey's Blog Rants.

AI Notes

Filed as a rant, but it's the encouraging kind: nobody gets scorched, and the author on display is a hobbyist with a big stack of read math books and a bigger stack of unread ones, working out how he'd redesign the whole curriculum. The study method he lands on is pure programmer: skip the proofs, mostly skip the exercises, and spend fifteen to thirty minutes a day clicking recursively through Wikipedia until the names of things stick — because the hard part of applied math is recognizing what kind of problem you're looking at, and nobody can recognize a combinatorics problem who has never heard of combinatorics. Detours include a hostage scenario in which a dictator demands long division, a confession about Stephen Kleene's logic book (twenty attempts, never past chapter two), and a list of five surprising things about math whose fifth item arrives in a whisper, in tiny type, so Steve can keep getting invited to parties.

The reading list is what looks prescient now. The branches he says school skips and programmers actually need (probability, statistics, linear algebra, information theory) turned out to be the entrance requirements for the machine-learning era, and he names machine learning as the reason linear algebra matters, in 2006, years before that became standard advice. He is also honest about the payoff in a way self-improvement essays rarely are: asked how any of this will help, his first answer is "it might not — not right away." Steve is selling a hobby here, and never pretends otherwise.

Related listings

Reception & reply

The essay reopened a perennial argument — how much mathematics a working programmer actually needs — and drew responses for years: companions that adopt its self-teaching method, and critiques that file Steve alongside the other essayists they think get math wrong.

Replies & companions

2009-04 Should Competent Programmers be "Mathematically Inclined"? Coding Horror · Jeff Atwood

Calls it "the best case I've read for the programmer-mathematician," reproduces its five points, then pushes back.

2011-03 The Math Debate Elegant Coding

Opens a multi-post series treating Steve's piece as the most substantive entry in the math-for-programmers debate.

2011-06 Math for Programmers TNG Elegant Coding

The "Next Generation" sequel — adopts Steve's wiki-surfing method and extends the topic map.

2012-11 The Mathematical Hacker Evan Miller

The dissent: groups Steve with Graham and Raymond and argues all three are myopic about how mathematics is really practiced.

Where it was argued

  • jwz.org Nov 2006 — Jamie Zawinski (Lucid Emacs / XEmacs, early Netscape) linked it for the math-education argument — then posted an exasperated update at his own commenters: “you all took it and turned it into some kind of dick-waving referendum on ‘well of course I do long division every day!’” 83 responses.
  • Hacker News Apr 2012