Live data from Hacker News

Poll: What level of math is programming roughly analogous to?

news.ycombinator.com

1–10 of 165 posts

Poll: What level of math is programming roughly analogous to?

#1
My son is writing moble apps using Objective-C and is around 11. My question is if arithmetic is 1 and advanced calculus is 10 at about what cognitive level is bog standard, journeymen, CRUD programming in Objective-C?

(Please remember that voting does not up vote the poll.)

Re: Poll: What level of math is programming roughly analogous to?

#2
What type of programming, what paradigm, at what scale, and dozens of other questions... I can think of numerous areas where each of these is not only "analogous", but directly used.

  - Want to even think of committing to scalaz/haskell? Category theory
  and lambda calculus.

  - Want to develop a physics engine for a modern 3d shooter?
  Geometry, trig, single/mutli-variable calc, algebra, and differential equations.

  - Want to do some NLP? Discrete math, automata theory,
  not to mention a strong background in linguistics.

  - Want to do some ML? Bayes statistics.

  - And so on..
I've always been amazed by how little is needed to squeak by in some scenarios and also how much is needed to do truly amazing things. The more you learn and push, the more you realize you don't know.

Edit: This was prior to OP clarification. :)

Re: Poll: What level of math is programming roughly analogous to?

#3
I'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.

Re: Poll: What level of math is programming roughly analogous to?

#4
I have always found geometry to be the most similar in terms of content. Geometry is where most people are introduced to proofs, which are similar in a lot of ways to programming. Also, you often need to know some amount of geometry in even CRUD apps to properly deal with interfaces, charts, etc.

That said, I spend 90% of my time writing geometric analysis libraries, so I am biased.

Re: Poll: What level of math is programming roughly analogous to?

#6
You can get by with an "algebra" level understanding of programming.

However, concepts such as recursion, and other metaprogramming don't really make sense at that level.

You can make rote crud apps with an algebra level understanding of programming.

Re: Poll: What level of math is programming roughly analogous to?

#9

I have always found geometry to be the most similar in terms of content. Geometry is where most people are introduced to proofs, which are similar in a lot of ways to programming. Also, you often need to know some amount of geometry in even CRUD apps to properly deal with interfaces, charts, etc. That said, I spend 90% of my time writing geometric analysis libraries, so I am biased.

I like this analogy. When I hear someone compare programming to math I assume that they mean what I would mean if I were to say it. Specifically, their similarities lie in the realm of logic.

Some programming problems require specific areas of mathematics, some others, some none at all. All programming, as well as all real mathematics, require the ability to reason logically about a problem.

Based upon this understanding, I can't chose any of the poll options, but if I had to, I'd go with geometric proofs as well.

Post reply on HN