r/learnprogramming • u/Septic_Ju1ce • 47m ago
Does Maths matter?
A big issue that I'm starting to see as I'm going through my studies in IT(software engineering) is the painful math module my college has us do.
It is a cause for concern as my math is below par, however I'm deeply in love with programming.
Personally I dont see a need for it, however some people do say its there to assist with the 'problem solving' part of the subject.
9
Upvotes
•
u/Sea_Athlete1378 43m ago
Math is very essential in solving complex problems.
•
u/ee_control_z 38m ago edited 28m ago
Depends in what pursuit you'll be using programming for. If you're solving problems that require math (arrays, engineering, large pieces of data, etc.), there is no way around it. As a general rule, being proficient at math does help with how you approach problems as it enhances your analytic thinking abilities.
An analog to an athlete, its like saying I like playing football (or fill in your preferred sport) and yet say, I don't want to do all of the work of getting in shape to build stamina because I find it boring and "I don't see a need for it". I just want to play football. Kinda sorta'.
You can still play football, but you will not be playing at your optimum.
•
u/tcpukl 40m ago
It's very very important.
Which part don't you see relevant to programming? We could explain why it is. It might help your motivation in learning it.
•
u/allunia333 37m ago
Yea math will be needed in programming.
•
u/mxldevs 36m ago
You don't need to be able to solve triple integrals or dot products in order to write software.
It doesn't matter nearly as much as people will try to make it seem. There are a wide variety of fields, and some certainly go deep in math but you don't have to do those if you're not interested.
•
u/horangiwhakkatchi 26m ago
Yes it's important. I come from a non-math background and I'm not good at it so I struggle. You often don't use math directly often on the job unless you're like a game dev or working on rockets or something but it informs everything we do. If you understand math, the other stuff becomes easier. Also now the high paying jobs are building AI and that requires math.
•
u/HellVollhart 24m ago
Maths matters EVERYWHERE!
•
u/exploradorobservador 39m ago
Why do you find it painful? The amount of effort it requires just to get by?
•
u/pancakeQueue 36m ago
I wouldn’t say I use math a lot for my job, even before Claude as libraries did all the heavy stuff. However knowing math means when solving problems you can usually find an optimal or less complex solution faster. As an example one of the advent of code problems (I don’t remember which) is trivial if you know taxi cab geometry, otherwise you may spend hours longer more convoluted solution.
•
u/oldsecondhand 36m ago
For your average line of business software highschool math is enough*. If you want to work in cryptography, computer graphics, robotics or machine learning, you need a lot of math.
*unless you need scaling, then you'll need some discrete math and algorithm theory
•
u/quickiler 35m ago
It depends. If you do stuffs like data science, game dev, ml, etc then very important. If you do devop, sysadmin, low level, etc then probably less.
•
u/vz0 34m ago
Yes. Math for CS is important! To understand what's going on.
•
u/AdDiligent1688 32m ago
I don’t think it matters much for programming depending on your focus area. If it’s more in the data science / ml / graphics realm though, then yeah probably unfortunately. Maybe not so much doing it manually but understanding mostly, knowing when to use what and why like other specializations.
•
u/PoMoAnachro 26m ago
A lot of the things you learn in university level math classes you won't end up using in a lot of programming (it does depend what subfield you're specifically in).
But on the flip side - the people who really struggle with math usually also struggle with programming. There's a lot of overlap between the types of brains which are good at both.
So usually if someone is struggling with math that's a warning sign for me for two reasons: 1) It might mean they just don't have the type of brain that's good at abstract reasoning and problem solving, or 2) They do have the type of brain that's good at that, but they don't have the personal discipline to make themselves apply effort to problems they don't find interesting.
Either of those can easily prevent you from being a good programmer. Fortunately, both can be improved to a degree. You can get your brain better at abstract reasoning through practice. And you can absolutely learn self-discipline and how to apply yourself to things you don't find personally interesting.
•
u/Annual_Berry8043 22m ago
It doesn’t not matter, but it’s not an end all be all. It will help you out a lot, so it’s better to know some.
•
u/W31337 16m ago
Maths teaches you abstract thinking which is essential skill for programming.
Thinking before doing is the most effective trait for programming.
I had to do logic with things like P, NP mappings, natural logical deduction and countable infinite sets etc which took me 5 times to pass because it's fucking horrible. But afterwards I realized it is the most beneficial course I've ever had. Knowing that a problem can't be optimized before building it will make you approach a problem in a whole different way.
So programming at high level is more than just by pumping out lines of code that "just work".
Stick with maths, even Einstein hated maths but built general relativity using it. He had to force himself to learn maths to put out his paper.
The things you hate are the things that will make the biggest impact in your life
•
u/Cold_Mango_9564 12m ago
yes math definitely helps but you don't need to be a math genius to become a great software engineer
•
u/Wingedchestnut 11m ago
You need it for your degree.
•
u/znjohnson 10m ago
It’s very dependent on what programming you’re doing. There is some where knowing the math well enough to tell a computer what to do is important.
There are some things where you might not need it at all.
In my opinion the important part of it is learning problem solving skills and concepts. It helps with logic and reasoning. Your skills may not be the best but you don’t necessarily need an A in every class. You can get C’s generally in classes for a bachelors and move on.
•
u/betarage 4m ago
It depends on what you are trying to do but you can just use a calculator and it's usually not the most advanced maths.
•
u/AlexMTBDude 4m ago
Coding and math are just two different types of problem solving. that require analytical intelligence. If you're good at one then you're good at the other.
•
u/boomkablamo 2m ago
In some domains yea but most don't require anything beyond algebra.
•
u/Own_Unit_6170 27m ago
Math is completely unnecessary for programming. The belief that you need to know math to be a programmer is a delusion promoted by academic institutions in ivory towers.
The only time you need any math in programming is when you are writing a program to do math. But 99.99% of all software is not math software. It is perfectly possible to write software containing tens of thousands of lines of code without ever once using anything beyond basic arithmetic.
So, don't worry. You don't need any math to learn programming.
And, just incidentally, learning math does not help with problem-solving ability. Problem-solving ability is a talent, not an acquired skill. In addition, solving abstract mathematical problems is very different from solving the practical problems that arise in programming.