11

Is math necessary for programming ?

Comments
  • 8
    No, but It's useful in certain kinds of projects, especially game dev, sometimes finance, It's a must for machine learning and any kind of statistics and science projects. But there's also plenty of projects that only require minimal math or none at all.

    That being said, It's a useful tool and you never know when you gonna need it or find it useful, so It's recommended to know it at least at an intermediate level just to broaden your options if nothing else
  • 3
    That’s a factual no. 80% of real work is something regarding percentages or similar simple stuff.

    Unless of course you specialize on something that requires a lot of mathematical business logic.

    Edit: that’s from a web dev perspective, see above for more details.
  • 6
    I mean, for most real world projects you'll need to at least know basic arithmetic operations.

    Beyond that though no, not in the general case. Certain domains definitely do (and often require different areas of maths too) but then that depends on what you're picking up.
  • 4
    Everything in our daily lives require math. Your brains calculate what time you want to wake up , how many minutes you can reach your office , how much sugar for your coffee , or you buy food otw to work paying with money , which also involve mathematics.

    The question you should be asking is "How frequent do programmer use mathematics" , well it depends on what project you are on. If you are doing some data science project , then yes, and data science is not only involve math. But for average programmer who just working on creating website, or mobile application, we seldom use math unless necessary.
  • 10
    "No", but you're probably gonna either be doing maths without knowing it, or you're gonna be doing UI/crud where career progression is a bit limited and so you'll probably end up with a career in middle management judging candidates for a web dev position because they didn't use fibonacci sequence to solve some stupid interview question in a really inflexible way, instead they solved it the right way.

    I think I'm kinda bitter at the moment...
  • 5
    We use linear algebra, calculus, and I am sure other math in our code.
  • 8
    Very basic math is necessary for all programming, beyond that it depends on what you're working with.
  • 4
    Is a guitar necessary for making music?
  • 7
    Web: sometimes
    AI: Yes
    Desktop: Sometimes
    Games: Yes
  • 1
    I'd argue the majority of programmer jobs out there don't really require college level math.

    I haven't used college level math in my Web dev job.

    In college I enjoyed doing low level 3d graphics, image analysis, AI etc but I'd be surprised if I ever had to do anything on that level in my Web dev work.
  • 1
    Highschool math, yes, Calculus, No, Discrete Mathematics, Yes, if you use it.
  • 1
    As many said it depends on what you want.

    Programming is a vast field.

    I struggle with higher mathematics and hadn't had much of a problem with it in programming.

    When I feel lost, I'll just ask one who has studied math. XD
  • 0
    Yes and no.

    Basic arithmetic is usually all I need to use, but every once and a while something comes up, the last thing i recall needing that was a little out of the norm was calculating the distance between geological locations in order to determine the closest n locations to the users current location.

    But at the end of the day, as long as you understand the problem, google will point you in the right direction 😅
  • 0
    depends on what you're doing but not exactly. the ability to kind of fuzzily picture and then investigate things is necessary so logic for sure. but its different.
  • 0
    @arekxv better to break down by field. game was a BIG yes.
  • 0
    No but logic definitely is. If your school has a logic class (mine was in the philosophy dept) then I’d recommend taking it
  • 0
    No. Unless you're working on a very specific field, knowing maths won't help you at all.
  • 0
    For increments only nothing much
  • 0
    If you can remember PEMDAS, that’s all you need….most of the time.
  • 5
    Long answer? Yes.

    Short answer: Yes.
  • 0
    you need logic, which is a subsection of math, that's 100% guaranteed. other than that, you'll find different parts of math in a lot of places. there's a lot of calculus involved in image processing, for instance. if you want to measure the efficacy of an algorithm, you need math. there might be some instance of development where you won't run into it as much, but math is at the core of our field.
  • 1
    Well, math is a broad term you know?
    Basic arithmetic? Probably yes jesus christ.
    Other advanced stuff like calculus? Strongly depends on the kind of project you're working on.

    I wrote my fair share of programs in which I did not use any math whatsoever and there were projects where math was more than just essential.

    If you're making a game engine for example and want to implement basic collision detection, you're gonna need to implement Axis-Aligned Bounding Box.

    Basically you check if the axis of two rectangles, which are an approximation of the respective game object's shape, intersect in any way whatsoever.

    You definetly need a decent understanding of coordinate systems and for example linear algebra for that specific purpose.

    In general however it can be avoided to some degree, but knowing it is always helpful, even just to visualize certain code problems.

    Jesus christ wall of text.
  • 3
    Math is absolutely necessary but the level of math you will need depends on your job and task area.
    Boolean algebra and basic arithmetics would be the minimum requirement for every programmer.

    Remember:
    Math is not just about numbers.
  • 3
    answering "no", and doing this today:
  • 0
    Basee yal ha
Add Comment