Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. How much knowing math well helps programmer?!

How much knowing math well helps programmer?!

Scheduled Pinned Locked Moved The Lounge
questiondiscussion
88 Posts 49 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Lost User

    I think that all of it is. You have something, it has a value, what happens depends on what that value is in relation to some other value or values. I think that is maths.

    Every man can tell how many goats or sheep he possesses, but not how many friends.

    S Offline
    S Offline
    Slacker007
    wrote on last edited by
    #52

    Fair enough.

    ChrisElston wrote:

    You have something, it has a value, what happens depends on what that value is in relation to some other value or values.

    I don't really think of that as math, even though it technically is. My reason, it's second nature to us. I think of math as complex equations and/or mathematical algorithms. To me that is math in programming.

    ----------------------------- Just along for the ride. -----------------------------

    L M 2 Replies Last reply
    0
    • M musefan

      In that statement, I indeed was thinking of maths as being the number crunching, algorithm aspect of it. Which was what I interpreted from the OP. But your reasoning of it meaning an all encompassing maths makes it a pointless topic

      My opinions are right, and yours are wrong! (or at least that is my opinion)

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #53

      Oh I see my problem. From now on you explain how I should interpret every topic and then I'll agree with you.

      Every man can tell how many goats or sheep he possesses, but not how many friends.

      M 1 Reply Last reply
      0
      • S Slacker007

        Fair enough.

        ChrisElston wrote:

        You have something, it has a value, what happens depends on what that value is in relation to some other value or values.

        I don't really think of that as math, even though it technically is. My reason, it's second nature to us. I think of math as complex equations and/or mathematical algorithms. To me that is math in programming.

        ----------------------------- Just along for the ride. -----------------------------

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #54

        Most don't, which is essentially the argument I have been having further down with this. I see maths as being far more than what they teach as maths in schools. It is an innate understanding of certain things, a way of dealing with data. That was the reason for the maths is art comment I made. To be a good programmer, coder, whatever I think you need to have a mathematical streak in you, even if it is not something you understand or are aware of. That is why once you have learnt to code it doesn't matter what language you use, you can easily pick up another, because you have an understanding of or a feeling for the mathematical principles that underpin everything. Just my opinion, not expecting everyone to agree, but that is what I think.

        Every man can tell how many goats or sheep he possesses, but not how many friends.

        S 1 Reply Last reply
        0
        • L Lost User

          Most don't, which is essentially the argument I have been having further down with this. I see maths as being far more than what they teach as maths in schools. It is an innate understanding of certain things, a way of dealing with data. That was the reason for the maths is art comment I made. To be a good programmer, coder, whatever I think you need to have a mathematical streak in you, even if it is not something you understand or are aware of. That is why once you have learnt to code it doesn't matter what language you use, you can easily pick up another, because you have an understanding of or a feeling for the mathematical principles that underpin everything. Just my opinion, not expecting everyone to agree, but that is what I think.

          Every man can tell how many goats or sheep he possesses, but not how many friends.

          S Offline
          S Offline
          Slacker007
          wrote on last edited by
          #55

          ChrisElston wrote:

          To be a good programmer, coder, whatever I think you need to have a mathematical streak in you, even if it is not something you understand or are aware of.
           
          That is why once you have learnt to code it doesn't matter what language you use, you can easily pick up another, because you have an understanding of or a feeling for the mathematical principles that underpin everything.

          I read this twice. Very well said and I think you do in fact make a great point. :thumbsup:

          ----------------------------- Just along for the ride. -----------------------------

          1 Reply Last reply
          0
          • H hakz code

            Recently I had a fun discussion with my colleague(he works on algorithms) on this topic, thought you guys would give some insight.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #56

            Programming is logic. Some programs require maths to solve specific problems, but not all.

            The best things in life are not things.

            1 Reply Last reply
            0
            • D Dalek Dave

              Much as I admire your attempt to teach them the correct spelling of MATHS, I feel I must pull you up on this line...

              Nagy Vilmos wrote:

              An understanding of how things work under the hood helps when implementing.

              Bonnet, surely? Just sayin'

              ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

              J Offline
              J Offline
              Joe Simes
              wrote on last edited by
              #57

              Dalek Dave wrote:

              Bonnet, surely?

              Bonnet[^] :suss:

              The environment that nurtures creative programmers kills management and marketing types - and vice versa. - Orson Scott Card

              1 Reply Last reply
              0
              • L Lost User

                Oh I see my problem. From now on you explain how I should interpret every topic and then I'll agree with you.

                Every man can tell how many goats or sheep he possesses, but not how many friends.

                M Offline
                M Offline
                musefan
                wrote on last edited by
                #58

                Again, I said nothing like that. I just admitted that my interpretation was more limited than yours, and this is why I commented how I did. I don't want you to agree, I just want you to understand what I say before you argue your point

                My opinions are right, and yours are wrong! (or at least that is my opinion)

                L 1 Reply Last reply
                0
                • M musefan

                  Again, I said nothing like that. I just admitted that my interpretation was more limited than yours, and this is why I commented how I did. I don't want you to agree, I just want you to understand what I say before you argue your point

                  My opinions are right, and yours are wrong! (or at least that is my opinion)

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #59

                  You said that my interpretation made the whole thing pointless. So for my contributions to not be pointless I need to understand which interpretations you find acceptable. If I am to interpret everything the same was then what is left but to say "I agree" and move on to the next one?

                  Every man can tell how many goats or sheep he possesses, but not how many friends.

                  1 Reply Last reply
                  0
                  • H hairy_hats

                    But what is Art?

                    W Offline
                    W Offline
                    wizardzz
                    wrote on last edited by
                    #60

                    The hardest part of art is making it not look like art. Translation and application to this topic: development is an art. When done properly the end result is simple and understandable, maybe even cold. But if you looked at the route to get there, you would understand it as an art.

                    "I have a theory that the truth is never told during the nine-to-five hours. " — Hunter S. Thompson

                    1 Reply Last reply
                    0
                    • N Nagy Vilmos

                      A good solid understanding of maths - it's shortened from mathematics not mathematic - is a must in anything by the most trivial application. [example: How do you determine a hash code and how will you know if it's good?] You need a good knowledge of logic. Is the decision point in your if statement correct? An understanding of how things work under the hood helps when implementing. A true example, we had to sort a list on the fly as it came in, probably 80-100 items through per minute and it needed to refresh the display. Easy yes? The sort algorythym moved about the values rather than the references and it was pants, a quick index in the middle and sorting was reduced to negligible. Only sorting when refreshing the display was another cheap improvement.


                      Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

                      L Offline
                      L Offline
                      lewax00
                      wrote on last edited by
                      #61

                      Nagy Vilmos wrote:

                      maths - it's shortened from mathematics not mathematic

                      That's terrible reasoning...math could also be considered a shortened form of mathematics. (Now if you were arguing about the plurality of it that's a better argument.)

                      1 Reply Last reply
                      0
                      • M musefan

                        I didn't say logic was required. I said it helps, and by that I mean being a logical thinker is a plus. like someone that has good problem solving skills etc. If you mean the AND/OR/NOT etc. logic then that is certainly another plus in some areas of programming

                        My opinions are right, and yours are wrong! (or at least that is my opinion)

                        K Offline
                        K Offline
                        Klaus Werner Konrad
                        wrote on last edited by
                        #62

                        AND / Or / NOT is all boolean algebra - and tht's pure math ...

                        1 Reply Last reply
                        0
                        • H hakz code

                          Recently I had a fun discussion with my colleague(he works on algorithms) on this topic, thought you guys would give some insight.

                          I Offline
                          I Offline
                          ii_noname_ii
                          wrote on last edited by
                          #63

                          Math is good logic. And I feel insulted that some people here mention "art": the exact opposite of objective reality and logic. Art is for retards; logic, math and programming is for geniuses... :P

                          S 1 Reply Last reply
                          0
                          • H hakz code

                            Recently I had a fun discussion with my colleague(he works on algorithms) on this topic, thought you guys would give some insight.

                            R Offline
                            R Offline
                            R Erasmus
                            wrote on last edited by
                            #64

                            I, as the rest of the guys here feel that programming and maths have got very similar traits. I didn't study maths at varsity however have got a maths oriented brain. (or logical). The company I'm working for specialized in aircraft systems/aircraft manafacturing and there is alot of highlevel maths that floats around in some of these systems. That said, not everyone in the company are maths geniusses. I would say that it is important to know a maths guru when working with complex software systems however not needed to be a programmer. Guru Maths = complex algorithms. Its very rare that one stumbles across a complex algorithm as a programmer, and when you do, ask a friend.

                            "Program testing can be used to show the presence of bugs, but never to show their absence." << please vote!! >>

                            1 Reply Last reply
                            0
                            • H hakz code

                              Recently I had a fun discussion with my colleague(he works on algorithms) on this topic, thought you guys would give some insight.

                              S Offline
                              S Offline
                              Stefan_Lang
                              wrote on last edited by
                              #65

                              I suppose it depends on what you do, and what tools you have. On my second job I was mainly responsible for the develpment and integration of neural networks into an automated visual quality assurance system, but the math involved was entirely covered by the tool, NeuralWorks. In my current job, I write algorithms for the planning of tool paths for huge milling machines, and although I have tools like Mathematica available, I still do have to develop and write numerical algorithms all by myself because we desperately need to optimize them for our specific needs. That said, I spent more than 10 years programming applications that did not require any real mathematics at all, except maybe for the programming logic inherent in all programs.

                              1 Reply Last reply
                              0
                              • I ii_noname_ii

                                Math is good logic. And I feel insulted that some people here mention "art": the exact opposite of objective reality and logic. Art is for retards; logic, math and programming is for geniuses... :P

                                S Offline
                                S Offline
                                Stefan_Lang
                                wrote on last edited by
                                #66

                                I beg to disagree. Math is all about making complicated systems looking simple. When I see a short and seemingly simple formula expressing the core of an incredibly complex problem, then that's beautiful, and in its own way, that is Art. To give an example that (hopefully) most people will understand, the formula

                                E = mc^2

                                appears to be extraordinarily simple, but it is the result of some complex mathematical derivations, based on a few physical theorems. Another example although not so widely known, are Bezier Splines and their inherent geometrical properties, including the algorithms used to work with them. Yet another example are fractals, although I have to admit that the beauty mostly lies in the way people use to visualize them. Still, the fact that you can create constructs of virtually infinite complexity just from a simple formula or small set of formulas, turns fractals into objects of art. I pity anyone who cannot appreciate the beauty that emerges from the underlying mathematics, because that is what nourishes our curiosity and drives us mathematicians to research ever more complex systems.

                                L 1 Reply Last reply
                                0
                                • H hakz code

                                  Recently I had a fun discussion with my colleague(he works on algorithms) on this topic, thought you guys would give some insight.

                                  T Offline
                                  T Offline
                                  Thornik
                                  wrote on last edited by
                                  #67

                                  It's very depends from your specialization. I work in document management area, databases, networking, etc - NO ANY MATH. My main pain-in-the-ass is fighting with hidden sh*t inside libraries. Sounds boring, but it's like a good detective! :) So my "programming" is crime investigation. :))

                                  1 Reply Last reply
                                  0
                                  • S Stefan_Lang

                                    I beg to disagree. Math is all about making complicated systems looking simple. When I see a short and seemingly simple formula expressing the core of an incredibly complex problem, then that's beautiful, and in its own way, that is Art. To give an example that (hopefully) most people will understand, the formula

                                    E = mc^2

                                    appears to be extraordinarily simple, but it is the result of some complex mathematical derivations, based on a few physical theorems. Another example although not so widely known, are Bezier Splines and their inherent geometrical properties, including the algorithms used to work with them. Yet another example are fractals, although I have to admit that the beauty mostly lies in the way people use to visualize them. Still, the fact that you can create constructs of virtually infinite complexity just from a simple formula or small set of formulas, turns fractals into objects of art. I pity anyone who cannot appreciate the beauty that emerges from the underlying mathematics, because that is what nourishes our curiosity and drives us mathematicians to research ever more complex systems.

                                    L Offline
                                    L Offline
                                    Lost User
                                    wrote on last edited by
                                    #68

                                    Bravo. :thumbsup::thumbsup::thumbsup:

                                    Every man can tell how many goats or sheep he possesses, but not how many friends.

                                    1 Reply Last reply
                                    0
                                    • H hakz code

                                      Recently I had a fun discussion with my colleague(he works on algorithms) on this topic, thought you guys would give some insight.

                                      B Offline
                                      B Offline
                                      BubingaMan
                                      wrote on last edited by
                                      #69

                                      Some GUI stuff is impossible to do without knowledge of geometrics. Some business logic stuff is impossible to do without knowledge of calculus. However, some GUI as well as business logic stuff requires none of both (especially in mainstream LOB applications). So the answer obviously is: it depends what you do. Or, more specifically, what the project you are working on is supposed to do. Having said that, I do think that people with a "natural" math-oriented brain will be better programmers. It's all about the logic and reasoning. For example, the reasoning behind things like refactoring is quite similar to factorizing in algebra. In high-school, most of the time you'll see that people are either good in math, or they are good at languages. Only rarely will people be good at both. In my experience, the math oriented people will turn out to be the better software engineers (with or without actually studying math). I guess it's just the way their brain works. My girlfriend is one of those "language oriented" people. I could spent all day explaining what a recursive function is and I guarantee you that she won't be able to comprehend it. :-)

                                      1 Reply Last reply
                                      0
                                      • H hakz code

                                        Recently I had a fun discussion with my colleague(he works on algorithms) on this topic, thought you guys would give some insight.

                                        P Offline
                                        P Offline
                                        Picozzi
                                        wrote on last edited by
                                        #70

                                        In my opinion, math is nothing more than the study of logic. And, as everyone seems to agree, programming requires logic ... I think that there is a big misunderstanding of what mathematics really are. People focus on math being complex equation and strange symbols: this is not math, this is the language we chose to explore (cartesian) logic. Would you reduce medicine to its wording, or coding to C++? I am very surprised to read that many programmers think that they do not need math to do their job. Look at any code: "function", "class" (=equivalence class), "variable", "array" (=vector), "+", "*", "%", ... understanding how these objects interact is the aim of mathematics! Even at a more fundamental level, a code essentially consists of 2 things: Logical tests (!) and loops (=matrix multiplication). Math is everywhere in a code, even if you don't see it! There is no doubt for me that math helps programmers. I would even say that there is no programer without mathematical knowledge (understanding what are functions or classes is a mathematical knowledge in itself, even if you did not learn it in your math class! ). Coders use maths at every line of their code without thinking about it. The language used to express things is slightly different, but the core is the same. Finally, when considering very complex computations, one quickly realizes that the mathematical language allows faster and better analysis of the problem than any programing language: It was developed in this scope!

                                        J 1 Reply Last reply
                                        0
                                        • H hakz code

                                          Recently I had a fun discussion with my colleague(he works on algorithms) on this topic, thought you guys would give some insight.

                                          V Offline
                                          V Offline
                                          Vimalsoft Pty Ltd
                                          wrote on last edited by
                                          #71

                                          i am not good at math but i can program. if you have math its a bonus.

                                          Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@dotnetfunda.com http://www.Dotnetfunda.com

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups