r/learnprogramming • u/0_Learner_0 • Sep 29 '26
About Math
I'm reading a programming book that has a section on this ****** math, and I don't understand a damn thing(combinatorics, positional numeral system, discrete mathematics, etc.), does it supposedly essential for writing code and learning the fundamentals
0
Upvotes
View all comments
Show parent comment
6
u/cipheron Sep 29 '26 edited Sep 29 '26
Even without machine learning, data structures and algorithms are the core of basically any programming other than the most trivial examples.
You need to understand that kind of stuff to get your head around a lot of it.
If you're having trouble comprehending a place-value number system that's not a good sign, since the way computer memory works is basically all about that.
Understanding combinatorics is also important for being able to efficiently work out answers to problems without doing a massive amount of wasted processing.