Yet another refugee who washed up on the shore after the great Reddit disaster of 2023
Title question first: yes, you absolutely can be too dumb to program.
But as others have mentioned, being bad at math isn’t necessarily a deal breaker, especially if you’re taking about the actual arithmetic part of math.
What turns out to be key to programming is breaking down a problem into steps and figuring out the logic to do what you want to do. The computer is going to do the actual arithmetic, but you’ll need to tell it what you want to do step by step.
Everyone should have the right to end their life when they see fit - and the reality is people do it whether it’s legal or not - but it’s so sad when someone with treatable mental health issues can’t see any light or hope because the issues are untreated. I’ve known so many people over the years who talked of ending things because of depression, who were eventually able to get to a better place and were so happy that they pushed through it.
I had an assembly class in college. I didn’t love of at all. Got my first job after graduating and it was writing space shuttle engine control software, which was in assembly. I was kind of surprised at how fast it became natural after dealing with it full time. Still, it felt luxurious when we upgraded the controller and could do the software in C.