How much has codding to do with math and why?

How much has codding to do with math and why?

Aside from problem solving thinking.

Not talking about basic math like 1+1 1*1 etc.

Depends on what you're doing with it

If you're doing JS stuff, very little math

Most other programming does involve math. Not only in terms of computation and algebraic manipulation, but more theoretical concepts that are "math" but not what you learn in the first year of undergrad. (e.g., git uses graph algorithms)

The difference between the code monkey and the software engineer is the fact that the second is good at math

For business programs, add, subtract, and percentages tax/interest. That's it.

For science, some depending on field.

For games, lots. :^)

>using the smiley with a carat nose

Prove that 2^n can begin with any sequence of digits.

>what are optimization problems
>what is load balancing

when you want to rig a gambling/luck game.
It gets very lengthy.

>he can't code the program and run it in his head

What a loser.

This.

You can do programming without math. But don't expect it to be glamorous work, and don't expect to be paid as much for it as someone who can do math.

Anything dealing with encryption, signals, statistical analysis, machine learning, compression... those things require you to think a little bit.

boss asks you to write an algorithm to calculate how to use the wearhouse storage to maximize the value of the goods in it.
you start coding
once you are done you start your progam. it takes abour 35 years for find a solution

That still doesn't require any advanced math.

ok, how do you define advanced math ?

>Optimization doesn't require math
I bet you can't prove why the needed moves for solving the hanoi towers is (2^n)-1 where n is the number of disks

>np-hard optimization algorithm doesn't require any advanced math

Yeah, what are those. No really, what are those?
t. business app devs everywhere

All in all it seems you need to know somehow what highschool level of math?

Normal/binominal distribution, y=a*b^t kind of stuff?

I'm currently TA'ing a CS course. One of the students is complaining about the math being too hard. I really want to ask them, "Why the fuck do you think these classes have math prerequisites?" Like, do people think we do this for shits and giggles?

see

>how much has to do with
go away pajeet

All coding is math.

>How much has codding to do with math and why?

Depens on the field.

For most "coding" you need almost no math.
You can be the best Java Senior Develloper in the world without ever using higher math.

For some stuff, you need some mathematical concepts. For exmaple:
0.1 + 0.2 = 0.30000000000000004 in most langauges.

This is because floating point arithmetics. Basically every decimal digit is stored as fomular. It's not that complicated, but you should have a basic understanding of exponential calculation.

For networking you need some math to calculate stuff like throughtput. It's not a big deal though.


Yes, you should know about stuff like number systems (gray code, binary, hexadecimal and so on) complexity classes (N, NP, NPC), Big O notation, turing completeness, Finite State Machines and so on. But while this is rather theoretical and requires a "mathematical way of thinking", you don't do real big math actually.


The ony fields that come to my mind where you need real advanced math are Computer Graphics (doing funky stuff with matrices), everything realted to Sound (you should know your FFT inside out) and of course Cryptography, where you are better off with studing math and CS at the same time.

Oh yes, I forgot stuff like combinatorial optimization, AI, graphs, constraint programming, backtracking, markov chains, simulated annealing, scheduling and so on..

(These fields are closely related.)


While these areas are rather theoretical aspects, they can be usefull if you are solving really tricky problems.

But again, this is more about know differnt algorithms and theoretical conepts than real "higher math".

>Le travelling salesman meme xD

It's all applied math once you get past the freshman year. It's usually not math proofs, but sometimes it is.

Math can be applied to programming, but not all programming tasks require math. Programming in general is more about defining a sequence of actions the computer should perform.
Also please refrain from calling it "coding", which is an abstract term that can mean many things depending on the context.

>coding