Hi, my name is Saifullah Usmani. I am a Programmer and a Graphic Designer. I have been programming for almost 5 years now. And I have worked with several freelance clients.
Well the answer is both Yes and NO. But I will explain how, when, why and should you consider mathematics or not.
If it sounds like a thing that will add value in your life then consider following my page because I keep adding quality content for you.
Actually the answer is both yes and no. So let's understand how?
First of all knowing basic mathematics such as Addition, Subtraction, Multiplication and Division is kind of a requirement but nothing more than that is needed. And if you don't even know these four basic operators then you need to learn them first. That is all the math you need. And I don't consider that as mathematics so I will say you don't need mathematics to learn programming.
There are some platform specific concepts about math that you may need to learn when you get into a specific niche(which you should). For example for front-end web development you need to understand PX, Rem, cm, Percent etc to create dynamic layouts. But till then you will be a programmer so it won't be a problem for you to learn some operators xD.
Math is not used in programming so often. But It is used in fields where data is important like Machine Learning(ML), Artificial Intelligence(AI), Data Science or Robotics.
So if you are into any of those fields then knowing Mathematics is a requirement for you. BUT:
You don't have to learn mathematics first to get into programming because programming itself is not dependent on mathematics as we discussed earlier in this article.
After learning a programming language that is best for that specific field you are getting into then get into that field. There you will discover that all the math you need is already taken care of by a framework build a great Mathematicians, Physicists and Programmers.
Now you will understand that you don't need to be a math wizard you just need to understand mathematics behind most important functions and you are good to go.
NOTE you must learn all the missing elements of mathematics later to become a better developer to be worth more and earn more.
I hope all of your doubts are now clear and you understand if you need mathematics or not for your career in programming.
If you want to learn more then make sure to follow this page to keep getting informative and amazing articles.
Hire me: https://www.fiverr.com/saifullah02 (For web development Purposes)
My New Blog: saifullahusmani.com
Follow me here: https://dev.to/saifullahusmani
YouTube: http://bit.ly/saifullahusmani (Programming Tutorials Coming Soon).