Do I Really Need Combinatorics and Discrete Math to Learn Programming?

0
3
Asked By VelvetPioneer42 On

I'm working through a programming book that includes a long section on topics like combinatorics, positional numeral systems, and discrete mathematics. I'm having a hard time understanding the material and I'm wondering how essential it really is for learning programming fundamentals and writing code. I'm mainly interested in general programming rather than machine learning, game development, or graphics. Is this something I need to master now, or can I treat it as optional and return to it later?

3 Answers

Answered By QuietMaple58 On

Programming regularly involves encountering ideas you don’t understand at first, but that doesn’t mean you have to study every topic in depth at the same time. Try learning enough to recognize what combinatorics, number systems, and discrete math are used for, and postpone the detailed proofs or formulas until they become relevant. If the book is moving too far ahead of your goals, using a more focused beginner resource is also reasonable.

Answered By MellowCedar7 On

You probably won’t need much of this math for everyday application or web programming. It becomes more important when you study algorithms, data structures, graphics, cryptography, or other specialized areas. It’s fine to understand the basic ideas and move on, then come back when a project gives the topic some context.

VelvetPioneer42 -

That makes sense. I was mainly confused about why a beginner-oriented book spends so many pages on material that doesn’t seem connected to the programs I want to build.

Answered By BrightHarbor19 On

The importance depends heavily on what you plan to build. Web applications often require very little advanced math, while rendering, simulations, game engines, and some algorithm-heavy work can use a lot of it. A practical project can make abstract subjects easier to understand, so you could learn the basics now without expecting to master every formula immediately.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.