Thread: Is maths REALLY required for programming?

  1. #16
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    There are 10 kinds of people in the world - those that can count in binary and those that can't
    I don't get it

  2. #17
    I lurk
    Join Date
    Aug 2002
    Posts
    1,361
    Originally posted by Silvercord
    I don't get it
    There are 0x2 kinds of people in this world, those who understand hexadecimal and those who don't!

    There are 1 + 1 kinds of people in this world, those who understand addition and those who don't!

    OH. MY. GOD. Guess who made those two beauties up????????

  3. #18
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    I still don't get it

  4. #19
    Registered User Commander's Avatar
    Join Date
    Sep 2001
    Posts
    801
    Code:
              32 - 16 - 8 - 4 - 2 - 1
                                       1 - 0  (on/off)
    ----------------------------------   
        (2*1) and (1*0) ->  2 + 0 = 2
    oh i'm sorry! i didn;t realize my fist was rushing to meet ur face!

    MSN :: [email protected] []*[]

  5. #20
    ___
    Join Date
    Jun 2003
    Posts
    806
    What type of math do you really need? Like I want to program games with C++ in general. Should I just have a firm grasp of math in general or what?
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  6. #21
    Registered User slaveofthenet's Avatar
    Join Date
    Apr 2003
    Posts
    80
    I'm starting college in the fall, and the booklet says to get a computer science degree you need calculus 1, 2, 3, vector calculus, and 3 physics classes. I only hope I can do better in college math than I did in high school.
    Detailed understanding of language features - even of all features of a language - cannot compensate for lack of an overall view of the language and the fundamental techniques for using it. - Bjarne Stroustrup

  7. #22
    I don't get it
    Think about it. There are two types of people listed there, those who understand it and those who don't. 10 in binary translates to 2 in decimal.

  8. #23
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Originally posted by ZakkWylde969
    What type of math do you really need? Like I want to program games with C++ in general. Should I just have a firm grasp of math in general or what?
    You had better buy a Linear Algebra book and read it cover to cover.

    Well I can only speak for game programming because that is what I do. I'd say a good fundamental understanding of mathematics and physics is a must for any game programmer. I mean, I guess you can write scripts and stuff like that without knowing too much math but those jobs are pretty low on the priority list. If you want to do anything graphics related you need a FIRM understanding of Linear Algebra. If you want to write a physics simulator you need general calculus knowledge, etc.

    I really enjoy math. There are so many applications for it in programming it's sweet. However, I'm sure you can get away with looking stuff up as it is needed.

    At many game companies ( i.e. Nintendo, M$ XBox Division ) the interviews will ask a lot of math questions. Everything from deriving the matrix for rotation of a point around an arbitrary vector to the explicit equation of a line in 3-space. Also basic things like Plane - Line intersection tests. I know this because I have friends at each of those companies who told me about their interviews. When I interviewed at the company I work at I wasn't asked to derive anything. They did ask how many and which math classes I had taken. They were very pleased that I had a decent number under my belt.

    You don't need to memorize fancy formulas when you can derive them yourself. I'd suggest to strive to learn the under workings of any of the math functions you use. In Direct3D and OpenGL it's really easy to just call the function to make your projection matrix for you but how many of you actually understand how it is computed and why? If you want to invent faster functions and develop new algorithms you really need to know whats going on behind the scenes.

    Well enough of my ranting about the greatness of mathematics.

  9. #24
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    I guess maths is more like your 'qualification' to become a programmer when getting a job.

  10. #25
    Registered User FloatingPoint's Avatar
    Join Date
    Jun 2003
    Posts
    191
    So now how do I become adequately good at maths, assuming I wanted to become a games programmer?

    Lots and lots of exercises I guess...How many hours should I allocate for a maths paper alone?

    This already sounds like I'm gonna do a major in maths!

  11. #26
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    For graphics, you definitely need linear algebra. Though, if your not terribly familiar with the subject of vectors, I'd start with them first, and then move onto linear algebra (as a course, linear algebra is usually taken after calculus II or III, just for reference).

    Also, regardless of what your programming, a good background in discrete math is a good idea - understanding the concepts involved with the development and use of algorithms.

    Graph theory is also very important, especially for algorithmic work. Many data structures you run into (most trees for examples) are examples of directed-acyclic-graphs.

    If your going with cryptography, then your gonna need a lot of abstract algebra - group theory, field theory, etc.

    Its possible to program without all the math, but your usefullness is severely limited. As for how much time you spend, it really depends on how quickly you pick things up, and what you are trying to learn. Just stay with it until it makes sense.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  12. #27
    ___
    Join Date
    Jun 2003
    Posts
    806
    I'm going to bring this thread back.

    quote:
    --------------------------------------------------------------------------------

    There are 10 kinds of people in the world - those that can count in binary and those that can't

    --------------------------------------------------------------------------------


    I don't get it
    machine code and binary are based off of 1s and 0s. and
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  13. #28
    i want wookie cookies the Wookie's Avatar
    Join Date
    Oct 2002
    Posts
    455
    i didnt really think you needed math, but the project im working on now at work requires me knowing matrices and finding determinant and all that stuff...its audio processing. but for audio and gfx you need math def

  14. #29
    ___
    Join Date
    Jun 2003
    Posts
    806
    So far all the stuff I'm using requires you to know how to do basic math. I even got lost at a remainder in division
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  15. #30
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    That's why they invented %

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem building Quake source
    By Silvercord in forum Game Programming
    Replies: 16
    Last Post: 07-11-2010, 09:13 AM
  2. Replies: 28
    Last Post: 07-16-2006, 11:35 PM
  3. NAQ: Everything you never wanted to know about CPP
    By evildave in forum C Programming
    Replies: 21
    Last Post: 12-12-2005, 10:56 AM
  4. maths???
    By nerdyneo in forum C++ Programming
    Replies: 4
    Last Post: 11-09-2003, 01:04 PM
  5. maths in a program
    By anthonye in forum C Programming
    Replies: 2
    Last Post: 05-24-2002, 09:08 AM