I’ve always flunked at math; and knowing how intertwined programming is with math, I’m skeptical of my ability to learn how to code. Can someone be too dumb to learn programming? If it helps, I’m mostly interested in learning Common Lisp.

  • Synthead@lemmy.world
    link
    fedilink
    English
    arrow-up
    29
    arrow-down
    1
    ·
    1 year ago

    You’d be surprised how little math is involved in programming that doesn’t require it. A significant majority of programming is simply managing conditionals. For example: “when the door opens, turn on the light.”

    Math comes into place when you need it, and hardly ever comes as a surprise. Additionally, solved problems are generally kept in libraries. For example, you don’t need to calculate a sum; simply tell it to calculate a sum for you, because this is a solved problem.

    What you’re already running into is called “impostor’s syndrome.” You believe that you are not capable of something to some degree, even though reality says otherwise. You haven’t tried your hand at programming, so why worry now? You’re inventing problems for yourself before you even got a chance to start.

    Just go for it and see what you think. If you don’t enjoy it, no biggie. If you do enjoy it, keep going. No obligations 👌

    • MachineFab812@discuss.tchncs.de
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      I was gonna suggest there might be a “too dumb to program for the profit of others”, but … yeah, even if your pay and code is a financial detriment, we can pretty much promise it’ll be an insignificant portion of the money that company is costing itself. You gotta eat, and practice is practice.

      That said, advice remains the same: program on company time towards a path you don’t care about beyond covering your ass and trying to deliver what’s been demanded(I’m not saying don’t do your best, just keep it to what you can do on the clock), and see that as practice for passion projects on the side. Save a little bit of that no-fucks-given/objectivity for objectively testing and fixing your code - fix it like someone else made the mistake, and you can do it better, but at the same time something must ship(don’t let perfect be the enemy of good).

  • swordsmanluke@programming.dev
    link
    fedilink
    arrow-up
    18
    ·
    edit-2
    1 year ago

    Programming success is more closely associated with language skills than math skills.

    Yes, if you need to invent a new algorithm you’ll need math. Computer Science is definitely mathematics heavy.

    But writing a program is all about expressing your intent in a programming language, step by step. It’s about “communicating” with the machine (and your users).

    All this to say, I got C- and D grades in my math courses in college and still became a successful computer programmer. I’m not pushing the boundaries of computation, but if you need an app for your business, I can build that for you in a reliable, tested, and flexible manner.

    Edit: Also! I love Common LISP. It’s such an amazing language and I’m so sad that it isn’t more popular in the industry.

    • jwt@programming.dev
      link
      fedilink
      arrow-up
      8
      ·
      1 year ago

      But writing a program is all about expressing your intent in a programming language, step by step. It’s about “communicating” with the machine (and your users).

      And your coworkers, and ‘you a year from now’. For the love of god have some compassion with ‘you a year from now’ and save him a day of debugging.

  • hollyberries@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    14
    ·
    1 year ago

    I suck at math and believe that if you can think critically and solve problems, you can program. It is possible to learn how to break down a mathematical formula into its components and have the computer compute. You can’t proof your work on your own at first, but there are tools that can.

    Depending on what you’re doing, you may even learn the math as you go like I did with game dev and vector math. Like any skill, it takes practice.

  • MagicShel@programming.dev
    link
    fedilink
    arrow-up
    13
    ·
    1 year ago

    Math is less important than logical thinking which often, but not always, goes with math skills. More important still is intellectual curiosity. Do you like solving puzzles? Do you like the feeling of breakthrough after a frustrating struggle figuring out how something works? Those will take you a long way.

  • Captain Aggravated@sh.itjust.works
    link
    fedilink
    arrow-up
    12
    ·
    1 year ago

    Directly answering your question: Yeah you can be too dumb to program. If you cannot read, write or count, you have learning to do before trying programming. I don’t think that’s you, because you were able to put several coherent thoughts together.

    Let’s talk about math class. Because I bet you’re not bad at math, you’re bad at math class, and this is because for the vast majority of students past about seventh grade, math class is so badly designed I’m going to call it an outright waste of time. Right around seventh grade, they throw away stuff like “If you have three pies and five friends, how do you cut the pies so everyone gets the same amount?” and start with “The transitive immutable property of additive inequality” or whatever. "For the rest of your adolescence and your entire early adulthood, math class is now about your ability to memorize and consistently apply completely arbitrary rules that we’re only going to explain to you in nineteen dollar words.

    That meme of 6/2(4+2) or whatever where people argue about whether it comes out to 0.5 or 18 is a symptom of this, because it turns out that meaningless math is meaningless. Funny how it’s never a problem in shop class or science class where the numbers actually mean something.

    Yes, there’s math in programming. There’s math in programming that your math teachers never even tried to teach you because the kinds of people who write school curricula aren’t the kind of people who do things for society. You weren’t taught boolean logic, you weren’t taught base 2 or base 16 math, etc. Find a good tutorial that works for you and you’ll learn it.

    I’m also going to give this advice: Don’t approach it from the perspective of “I’m going to learn a programming language.” Because when you see how big a task that is, you’ll be overwhelmed and quit. Instead, pick a project, something you want to build, and say “I’m going to learn how to make a calculator in this language.” or “I’m going to make a simple game in this language.” You’ll learn the parts of the language you need for that, and get it done. Then pick another project, you’ll find new aspects to learn about. Keep going in that fashion and before long you’ll know how to program.

  • throwawayish@lemmy.ml
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    1 year ago

    Nah, no need to worry. I’ve got a friend that was bad at math and therefore dismissed a career as programmer initially. Eventually, he just couldn’t ignore how much programming interested him and did start a Bachelor’s degree in Computer Science (after disliking his first year of Finance). A couple of years later and he’s the proud owner of a Master’s degree in Computer Science while still being relatively bad at math, but it didn’t stop him. Nor should it stop you.

    • theComposer@beehaw.org
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      I’m glad it worked out for your friend! However, I’ve got to know, why did they choose to pursue Finance of all things if they didn’t like math??

      • throwawayish@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Since childhood, they wanted to become the head of a bank; this wish -however- was more rooted in the (childish/immature) association that being at that position should mean that they’ve made it (monetary-wise). So, they started Finance with the belief that it would be the best step to attain that goal. Furthermore, I believe they had misinformed ideas on what studying Finance was at the time 😅,

  • Lmaydev@programming.dev
    link
    fedilink
    arrow-up
    10
    ·
    1 year ago

    80% of programming jobs will only require basic maths.

    A lot of the time you’re glueing together libraries written by much smarter people haha

    It’s more about logic than maths. People absolutely can find it too hard.

  • kingaloo@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    1 year ago

    You can be but it’s very rare to find someone that is.

    For programming I always tell folks you need 3 skills: adaptability, self-reliance, and strong problem solving (thinking outside of the box, etc)

    The most lacking skill I see new students is self-reliance. Learning to do your own research, knowing when to ask for help and when not to, etc.

  • NostraDavid@programming.dev
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    1 year ago

    Have too low IQ? Yeah sure, I guess.

    Be slower at it than the norm? Absolutely.

    I only learned Algebra by learning programming and through that I learned how to think abstractly (abstract just mean “hiding details” - think of how a child draws a car. You can’t tell it’s colour, brand, model, etc, yet you can tell it’s a car, even though all those details are hidden). Once I got that, I was able to follow videos from MIT that taught me more of the maths, giving me a theoretic foundation for programming. Now I’m doing an Algorithm course (also MIT) and feel like an “actual programmer” (because I felt like a “fake programmer” before that - though that still sometimes returns). After that I intend to learn more about SQL because I’m painfully lacking in that regard.

    Anyway, I’ve been at it since 2005 when I was a 20-something kid, and there’s always something new to learn.

    FYI: I made a dependency graph of a bunch of freely available MIT courses, left is a dependency for stuff on the right: https://thaumatorium.com/articles/mit-courses/

  • Omega_Haxors@lemmy.ml
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    1 year ago

    No, as evidenced by basically the entire industry. Don’t fret it, all you have to do is be smarter than your boss, and that’s fucking easy.

  • chicken@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    Yes but it’s a low bar and failing math in school doesn’t mean much. Just try writing programs, be a little stubborn about it, and see how it goes.

  • porgamrer@programming.dev
    link
    fedilink
    arrow-up
    8
    arrow-down
    2
    ·
    1 year ago

    Most common reason for being bad at programming is finding it boring and thinking the tools are needlessly obtuse.

    If anything this is a sign of great intellect.

  • ebits21@lemmy.ca
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    You can definitely learn to program without being great at math. Obviously, depends on what kind of programming.

    If you want a computer science degree though? You’ll need the math.

  • CaptainBasculin@lemmy.ml
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    Math knowledge is not essential; but really useful in programming as you’re trying to make the computer do calculations of some sort.

    Someone could definitely be too dumb to code though.