Programming is basically about logic and maths are the backbone of all the logic.
If one is familiar with mathematical concepts, then programming is all about packaging that logic in correspondence of some constraints called Syntax.
So, all we need to do is first understand the logic behind the problem statement and develop that logic (algorithm) and then trying it out for 2–3 sample cases. If it works, then just rewrite it with proper syntax.
Maths is very important for programming but in programming it’s different, and from your question, I can sense that you are a beginner, just always remember one thing that “a good programmer is not a person who knows many languages but a person who can give the best solution for the problem”.
To solve any problem first you have to find the fastest and the best solution for the problem and for that, you need more than basics knowledge of maths. So I will suggest you to start learning a programming language ( i would say python ) and then start practicing algorithms (this is where you will need maths).
It totally depends on the type of programming language that you are choosing!
For example :
Example 1: If you are good at Category Theory, Go for any pure functional programming because it is an implementation of maths only!
Functional Programming like Haskell, Scala(up to some extent) is totally dependent on the Concepts that you learned in Category Theory.
Side Note: The world is moving towards Functional Programming because it is less error-prone and is very much easy for a person coming from a Mathematical background!
Example 2: If You are good at statistics and want your career as a Data Scientist( the most exotic job in 21’ st century ) Then go for R. It is the way to go for you.
Hence to summarize: If you are good at mathematics, it will be easier for you to grasp a language, but that depends upon what programming language you are choosing!
Top comments (1)
That's awesome. Programming changed my life, too.