Math Not Required (2023)
7 comments
·August 22, 2025verbify
alphazard
I don't think that there is any mathematical training needed to gain insight from running repeated simulations.
The only intuition you need is that you can become better at the game by practicing. This is a good (if optimistic) belief to have as a default. Then it's just a matter of playing over and over again and keeping score. It doesn't even have to occur to you that the strategy can be automated, you can play yourself. Just doing this you could build intuition for the best strategy the same way that most people can learn to play poker or dice.
You can say that the brain or learning process or whatever is obeying mathematical laws, or has learned a mathematical fact, but that's not the same thing as doing math or thinking mathematically.
alphazard
Programming is very different from and far more useful than what they call "math" in school, but basically any analysis of your program or of possible improvements is going to involve methods and knowledge that people called "mathematicians" and "computer scientists" happen to be very familiar with.
ChrisMarshallNY
I always say that the best education I got for preparation for programming, was good ol' Algebra 2.
Depending on what type of programming we do, other math disciplines can be extremely useful, but A2 was what taught me how to do things like refactor, use variables, functions, and balance; all skills that have direct analogues in general-purpose programming.
[EDITED TO ADD] Also, stories. Word problems were very important.
sfpotter
This never made any sense to me. Why are so many programmers math phobic? You'd think an interest in math and an interest in programming would go hand in hand, especially since they aid and abet one another so beautifully. My programming got way better the better at math I got, and vice versa.
efilife
I think about this very often and was thinking to write an article about this for years, and today too. Good that someone beat me to it, now I don't have to.
I was repeatedly told in school that math is a very important skill to possess as a programmer even though the teachers never wrote a line of code in their lives. This would be one of its main points. Where the hell do people get this idea from?
TOGoS
Being a good programmer requires thinking about things that, whether you realize it or not, are math problems. Things like managing complexity, or analyzing a program to understand what it even does. You can get pretty far just with a strong intuition, but stripped of all the syntax and culture around programming, what you're dealing with is, like, graph theory, and combinatorics, and stuff. If you recognize the concepts then you can reason about systems at a higher level and save yourself a lot of trial and error.
Or: You don't necessarily have to take math classes to be a good programmer, but the skills that differentiate a good software engineer from an LLM (previously 'code monkey') happen to correspond to things that mathemeticians would recognize and could give you a word for. This CoRecursive episode comes to mind: https://corecursive.com/050-sam-ritchie-portal-abstractions-...
The article claims you can figure out the almost correct answer to the Monty Hall problem by running simulations hundreds of times instead of doing the maths (and the same for coin flips).
My problem is that it still relies on some mathematical intuition - that large sample sizes approximate the true distribution. Similarly bad intuition (like the gambler's fallacy) could easily be coded.
I agree that formally calculating the probabilities isn't necessary if you have the right intuition. But I believe getting good intuition is the result of training on problems (and then you can learn how to formalise it - which is the easier part).
Edit: Being good at mental arithmetic isn't necessary for programming, but being good at mental arithmetic isn't necessary for working as a mathematician either.