The correct answer is abstract (modern) algebra.
Poll: What level of math is programming roughly analogous to?
11–20 of 165 posts
Re: Poll: What level of math is programming roughly analogous to?
#12As for me, I have taken math to the level of Differential Equations and Linear Algebra.
Re: Poll: What level of math is programming roughly analogous to?
#13The answer depends on how great you want to become. Take as much math as possible to find the best solutions. I come from a background of the hard sciences, I never took programming in college and I was able to pick it up quite easily because of my strong foundation in mathematics, analytics and logic.
Re: Poll: What level of math is programming roughly analogous to?
#14Under such a worldview, my personal view of the mental requirements of a simple CRUD type of task is that the ability to apply definite rules called for in the "algebraist" approach is closest (and extremely necessary). I've read many comments that beginning programmers can have a hard time understanding that the computer will do exactly what you tell it to do, and nothing else; applying algebraic rules is a very similar concept.
Geometry is an unpopular choice in your poll, but I think it has some of the same flavor of recognizing that "by labeling this complicated term 'x' and this other complicated term 'y', we can transform the current state of the problem into exactly the preconditions for theorem T" that I'm thinking of.
Anyway, overall I vote for algebra 1.
Re: Poll: What level of math is programming roughly analogous to?
#15I'm not sure I understand the question. Programming can be a mix of many things: reasoning about associations and state, designing processes or interfaces, or—most saliently—modeling a domain that may or may not mathematical in nature. To compare a programming language/runtime with a US math curriculum makes about as much sense to me as asking for the Richter magnitude of a sledgehammer.
>what cognitive level is bog standard, journeymen, CRUD programming in Objective-C?
He should probably have clarified it in the title
Re: Poll: What level of math is programming roughly analogous to?
#16For Objective-C (or any objective language): geometry. Qualities of objects, and their role in relation to other objects are really all there is. Also, memory, which is all we are manipulating at the end of the day, is linear; points on a line.
RAM is equivalent of "tape" in a Turing machine. If its anything resembling linear for any amount of time, the machine would not be Turing complete ... and therefore a not very interesting programming language/model.
Re: Poll: What level of math is programming roughly analogous to?
#17programming has an "advantage" over math in that you can just program something and see what happens and therefore gain an intuition and craft your way around things. mathematics is much more deprived in this respect, for a variety of reasons.
overall i would describe programming as a precise form of writing, whereas math is a very pure science
Re: Poll: What level of math is programming roughly analogous to?
#18I'm not sure I understand the question. Programming can be a mix of many things: reasoning about associations and state, designing processes or interfaces, or—most saliently—modeling a domain that may or may not mathematical in nature. To compare a programming language/runtime with a US math curriculum makes about as much sense to me as asking for the Richter magnitude of a sledgehammer.
> bog standard, journeymen, CRUD programming
What do you think are the cognitive demands of that task, however defined?
Re: Poll: What level of math is programming roughly analogous to?
#19Note that if you're doing game development, a higher level of math will be required, than if you're writing a crud application that talks to an api; in the latter, understanding linguistics and a good common sense are more important.
Re: Poll: What level of math is programming roughly analogous to?
#20You don't need any of high school math unless your specific application requires it (i.e. graphics involves polygons, anything quantitative involves arithmetic and unit conversion, you may want to report percentages and averages at some point.)
Things I remember from K12 math classes that were useful for programming in general:
- What variables are
- What functions are
- You can compose functions (this was obvious because I had been programming for 5+ years before function composition was introduced)
- Very basic set theory (Python list comprehensions resemble set-builder notation)
- Introductory propositional logic (though I learned this in the context of programming 7 years before I was "ready" for it in math class)
Learning to prove things about triangles (geometry) exercises some of the same skills as programming, but I wouldn't say it teaches them. Certainly none of the theorems or facts have ever been useful, just the process of reasoning.