Think in Math, Write in Code
There&#x27;s an unpopular and somewhat seemingly contradictory opinion that I have regarding this, because this isn&#x27;t the first time I&#x27;ve seen this topic brought up. Mathematics and programming are not really all that related to each other and I think there&#x27;s an overemphasis on the importance of math in programming for 99% of applications.<p>Sure, mathematical thinking can be useful, but it&#x27;s only one type of logical thinking among many types which can be applied to programming.<p>I&#x27;ve been programming so much for so long now that before I even start writing code my mind launches into an esoteric process of reasoning that I&#x27;m not confident would be considered &quot;thinking in math&quot; since I&#x27;m not formally skilled in mathematics. It&#x27;s all just flashes of algorithms, data structures, potential modifications, moving pieces, how they all affect each other and what happens to the entire entangled web when you alter something. Fortunately, my colleagues are often pleased and sometimes even impressed with my code, and yet I&#x27;m not so sure I would consider my process &quot;thinking in math.&quot;<p>So, this isn&#x27;t necessarily a direct refutation to the article. In fact, maybe what I&#x27;m talking about is the same thing as what this article is talking about. But, anyway, my point is that I feel that there&#x27;s more ways to think about problems and solutions than pushing the agenda of applying formal mathematics.<p>As an aside, I noticed this part of the article:<p><i>&quot;Notice that steps 1 and 2 are the ones that take most of our time, ability, and effort. At the same time, these steps don’t lend themselves to programming languages. That doesn’t stop programmers from attempting to solve them in their editor&quot;</i><p>Is this really a common thing? How can you try to implement something without first having had thought of the solution?