r/learnprogramming • • 3d 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.

10 Upvotes

131 comments sorted by

View all comments

Show parent comment

3

u/Sea_Athlete1378 2d 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 2d ago

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

2

u/cheese_topping 2d ago

Isnt this literally linear programming question

0

u/mxldevs 2d ago

I don't know, is it?

How do you apply linear programming to prioritizing requests?

2

u/cheese_topping 2d 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 2d ago

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

1

u/Sea_Athlete1378 2d ago

Neither am I mate, but it's just good to know that sooner or later you will come across math, it's a part of life, and especially in coding.

0

u/ResilientBiscuit 2d 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.