Does programming require knowing math? đ¤ đ
At school, I wasnât good at math. I didnât like it. I had many doubts if I can be a good programmer, especially in tough moments when I was learning how to code. I thought that a lack of math skills slows me down. Or that other programmers solve problems faster because they know math.
Thatâs all bullshit.
There is no scientifically proven correlation between math skills and programming skills. Math is one thing, coding is another. So if you find coding hard â thatâs not because you suck at math. Thatâs because coding is hard.
However:
1ď¸âŁ To succeed as a programmer, you need to understand school-level math, like calculus and algebra. These are the basics that every person needs to know to survive in the modern world. Not only programmers. Remember that if you are a graduate applying for a job at Google, they might test your math skills. Not because youâll do math at work, but because Google wants to know how well you studied or see how you approach the problem.
2ď¸âŁ If you work with graphics or, say, in game dev, youâll need more in-depth math and physics knowledge. Some frameworks hide science from a programmer and you can build cool things without knowing math. However, sometimes youâll have to code things or dive into the library code to understand how it works. Good news is that if you suck at math or donât like it, you can find other cool projects to work on. Only a fraction of projects requires math skills.
3ď¸âŁ There are certain areas where knowledge of graphs or probability is essential. Social networks leverage graphs; machine learning is all about probability. However, you can always learn everything you need along the way. Being able to learn is more important than knowing things. You never know what your next project will be, so donât waste time learning things before you need them.
I know many successful programmers who would not pass a school-level math exam without thorough preparation. Donât get discouraged if you donât know or donât like math. Everyone has weaknesses and strength. If you suck at math, you still can be a good programmer. Thereâs a place for everything and everyone.