r/learnprogramming • • 18h 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.

4 Upvotes

105 comments sorted by

View all comments

Show parent comment

10

u/Sea_Athlete1378 17h ago

So data structures, architectural decisions in terms of scalability and reliability have nothing to do with equations? Maybe you're not there yet but trust me, you need it when things get complicated

0

u/mxldevs 17h ago

How are you using calculus or linear algebra in your data structures and architecture? Can you provide an example of a recent problem showing how they're used?

5

u/Sea_Athlete1378 15h ago

You will learn along the way buddy :) query's require calculus, limiting requests to your backend. Its endless honestly. I don't say you have to be a mathematical genius, but denying math plays a big role in development is just nonsense and terrible advice.

0

u/mxldevs 15h ago

What kind of formulas are you using?

3

u/Sea_Athlete1378 15h ago

Really depends! For example, you have a large scale of request trying to reach your backend. Due to high traffic, you have to find out how to prioritize certain request over others, think about storage and make sure your server doesn't overload. You build algorithms that calculate the necessity of a request and what should be handled first, for instance.

If a client buys a product with a discount, how does this discount get calculated? If multiple queries are requested, and you have your DB setup correctly normalized, you will have to join tables, count up requested data. It's really quit common knowledge in all honesty!

1

u/mxldevs 14h ago

Let's go with prioritizing requests. How does calculus or linear algebra come into play here?

2

u/cheese_topping 11h ago

Isnt this literally linear programming question

0

u/mxldevs 10h ago

I don't know, is it?

How do you apply linear programming to prioritizing requests?

2

u/cheese_topping 10h ago

Mixed Integer Linear Programming

I recommend you to take a look into this. Optimisation problems like these have indepth research done.

1

u/mxldevs 7h ago

Thanks. Definitely beyond my scope. I guess that's why I'm not a successful software engineer.

0

u/ResilientBiscuit 11h ago

I have done all of those things professionally, I can't say I ever needed college level math for any them.

I have needed linear algebra for graphics and calculus for making a physics engine. But I never used any sort of advanced math for request or query optimization or prioritization.

2

u/StewedAngelSkins 10h ago

For calculus, time and space complexity analysis is the obvious example.

1

u/Sudden-Pineapple-793 10h ago

I mean a 2d array is literally just a matrix, look at at numpy, inverses, SVD, transposition etc

-1

u/Own_Unit_6170 17h ago

Practically nothing to do with them, yes. I haven't described where I've been.