Earlier quoted context omitted.
I think it really depends on what you want to make. How does math help you make a CRUD application, for example?
The thing is the answer is YES, but you won't even understand why unless you have the appropriate math knowledge. There would be a lot less terrible code written out there if people had a better grasp of discrete math, knew how to make their O(n) analysis, knew how to create and implement provably correct algorithms, knew lambda calculus and e.t.c. and that's just for general programming. I would say a basic grasp of…
And... well, I can't say that I've ever explicitly used any of it in programming. I suspect you're falling into the trap of generalizing from a field you're familiar with to all fields, and that's a generalization that doesn't hold up.