Live data from Hacker News

How much math you need for programming (2014)

lispmachine.wordpress.com

11–20 of 187 posts

Re: How much math you need for programming (2014)

#11
post #8

It really depends on what software you're working on. If its regular web development, eshop, fintech etc, math knowledge required is close to none. Backend or frontend doesn't matter. If you switch to more advanced software e.g. geo, cad, games then it's a different story.

That's not just true for math, it's a more general fact - if you make software in a particular domain, you're going to need domain knowledge.

Re: How much math you need for programming (2014)

#12
I'm a game programmer, so I definitely have some bias (bare minimum of acceptable is somewhere between advanced high school and first/second year linear algebra, with some calculus being very helpful), but in practice I've found the more math I know, the more I use. I've been working on stats recently in the evenings, and have used quite a few of the concepts in my day job already.

Re: How much math you need for programming (2014)

#15
post #5

I have/had a few colleagues with almost no math knowledge beyond primary school. One was quite a good programmer, interested in all kinds of technical stuff. He had failed secondary school because of, well, reasons, but he wasn't dumb, and wrote decent code and was quite inventive. Another one was someone with a business school degree who had changed careers. Not a glitch in his school career, but his math was very w…

Followed you fully, right up to the end. Why would a good understanding of math be invaluable to start the next big thing?

At their core, isn’t what makes them great, their simplicity? Upload videos, connect with other people?

I’m no math wiz but can probably code an MVP of the product that FB and YT were when they launched. The colleagues you described probably could too. Would love to learn more about the hidden complexity!

Re: How much math you need for programming (2014)

#16
I gave up maths as soon as I could at school (16) and didn't study it for an A-Level. It was required for my CS degree, but they let me in without it. I had to apply myself a little more to pass the maths modules, but I don't think maths has really been important to me or my career.

I can totally understand WHY maths would be important for some programmers (and why thinking mathematically would help), but "programming" covers such a spectrum - for me it's always felt more like the Lego I spent my entire childhood building was more important. Somewhere between logic and creativity.

Re: How much math you need for programming (2014)

#17

Depends on what you write. For some applications, you need a great deal of advanced dynamic maths, for some applications, matrix math, for some, heavy-duty topology, etc. I have a lot of admiration for folks that write software that implements advanced mathematical reasoning, but that is only a part of what is required to develop shipping applications and systems. For me, I learned the standard calculus stuff, but ne…

It would be nice to have a map. Some programming is plumbing.. some is investigating (maintenance).. some is more attention to details (specs and protocols) but sometimes it's raw wide and deep math. You don't solve dynamic programming problems without a mathematical thinking (or else I want to see 'you' operate :)

> You don't solve dynamic programming problems without a mathematical thinking

Absolutely. Reflecting on my path, I got that in Algebra 2. Everything after that, was really just scaling and application.

Calculus is 90% trig and algebra. Lots of it, and applied. Quite voluminous, but rather pedestrian.

Re: How much math you need for programming (2014)

#19
I think the only possible answer to how much math do you need is that it depends on what you work on. There is a lot of stuff that can be done only using very basic math, that's for sure.

I would tend to agree with the article that math can be quite useful as a general mental model and can often help to find cleaner solutions to some problems.

There are also a lot of applications that require some, often quite specific, knowledge of math: machine learning, cryptography, game engines, to name a few.

Re: How much math you need for programming (2014)

#20
But you use math all the time when programming, probably without thinking of it as math. Boolean logic is math. Incrementing an integer is math. A pixel coordinate is math.

But most programmers don't need to use or understand the specialized notation of math - all the weird and beautiful symbols. We use the programming language as notation instead.

Some branches like calculus or statistics are not used regularly by the average programmer, but other branches like integer arithmetic or boolean logic is pervasive in any form of programming.

Post reply on HN