Importance of math

This is a discussion on Importance of math within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Ok so I am fairly good at math, but unfortunatly in high I never went past basic allgebra and geometry. ...

  1. #1
    Registered User
    Join Date
    May 2007
    Posts
    15

    Importance of math

    Ok so I am fairly good at math, but unfortunatly in high I never went past basic allgebra and geometry.

    What I'm wondering is, how important is a good knowledge of mathematics to being able to program well? Do I need to pick up some text books and greatly extend my knowledge?

  2. #2
    Dr Dipshi++ mike_g's Avatar
    Join Date
    Oct 2006
    Location
    On me hyperplane
    Posts
    1,218
    That depends entirely on what you want to code.

  3. #3
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    Math always helps, but you can program without knowing much about it. It depends on the types of programs you want to write, of course. I can think of several people who started C or C++ programming before they were even in high school, so post-algebra math is by no means an ironclad requirement.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  4. #4
    Registered User
    Join Date
    May 2007
    Posts
    15
    Well I don't plan to make a big career out of programming. It was more like, I didn't know how too, and that irritated me. So I'm learning. Basically I plan on just making basic programs, maybe a game or two when I get better.

  5. #5
    Registered User IdioticCreation's Avatar
    Join Date
    Nov 2006
    Location
    Lurking about
    Posts
    229
    You should probably know some geometry and trig if you want to work on games. I didn't really know much trig when I started. I just learned the stuff as I needed it.

  6. #6
    Registered User
    Join Date
    Jul 2007
    Posts
    36
    Been programming for a while but I have never used much math. If you get into 3D games it is likely that you will be using some library with functions that do the math.
    FrancoisSoft
    FrancoisSoft on the Web
    If you stare at a computer for 5 minutes you might be a nerdneck.

  7. #7
    aoeuhtns
    Join Date
    Jul 2005
    Posts
    581
    Knowledge of mathematical facts is not important at all. Aptitude for formal reasoning seems important, though. Note that I mean "aptitude," not that you've ever done it before. You'll end up thinking in that pattern when writing programs. Unless you write code randomly and pray...

    The fact that math ability correlates with programming ability has to do with this. It's the ability to _think_ that matters.
    There are 10 types of people in this world, those who cringed when reading the beginning of this sentence and those who salivated to how superior they are for understanding something as simple as binary.

  8. #8
    Captain - Lover of the C
    Join Date
    May 2005
    Posts
    341
    Quote Originally Posted by Rashakil Fol View Post
    Knowledge of mathematical facts is not important at all. Aptitude for formal reasoning seems important, though. Note that I mean "aptitude," not that you've ever done it before. You'll end up thinking in that pattern when writing programs. Unless you write code randomly and pray...

    The fact that math ability correlates with programming ability has to do with this. It's the ability to _think_ that matters.
    Unless you are programming a math engine, you won't directly be using much math. However, like Rashakil Fol says, it is a way of thinking. The reason that Calculus is required for majors that would otherwise need very little math is that Calculus trains your mind to think in a specific way that helps with that major.
    Don't quote me on that... ...seriously

  9. #9
    Registered User Dave++'s Avatar
    Join Date
    Jun 2007
    Location
    Where the Buffalo Roam
    Posts
    40

    Cool organized thoughts

    Quote Originally Posted by HunterCS View Post
    Well I don't plan to make a big career out of programming. It was more like, I didn't know how too, and that irritated me. So I'm learning. Basically I plan on just making basic programs, maybe a game or two when I get better.
    Hunter, when I first learned about "flowcharts" in third grade...I flowcharted everything. "How to sharpen a pencil" and even "How to take a c___". That was 1970. And so there sat a bunch of boxes and questions that branched to multiple states (didn't even know what a state was) on a 11x8.5 paper that kept me from getting bored in school.

    Programming is inherently more mathematical in and of itself than people give it credit. So in some ways when your really doing a good job at programming you're doing math using "graphs". Its just more topographical than algebraic.

    Something like that...

    Dave++
    Last edited by Dave++; 07-24-2007 at 02:09 PM.

  10. #10
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,590
    Moved to GD.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Math
    By knightjp in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 04-01-2009, 05:36 PM
  2. Help with C++ Math
    By aonic in forum C++ Programming
    Replies: 4
    Last Post: 01-29-2005, 03:40 AM
  3. Basic Math Problem. Undefined Math Functions
    By gsoft in forum C Programming
    Replies: 1
    Last Post: 12-28-2004, 02:14 AM
  4. Math Header?
    By Rune Hunter in forum C++ Programming
    Replies: 26
    Last Post: 09-17-2004, 06:39 AM
  5. toughest math course
    By axon in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 10-28-2003, 09:06 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21