TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Programming is not math

21 pointsby ahmadssalmost 11 years ago

7 comments

bediger4000almost 11 years ago
This is contrary to what most logicians think: &quot;Programs are Proofs&quot;, <a href="http://homepages.inf.ed.ac.uk/wadler/papers/frege/frege.pdf" rel="nofollow">http:&#x2F;&#x2F;homepages.inf.ed.ac.uk&#x2F;wadler&#x2F;papers&#x2F;frege&#x2F;frege.pdf</a>, a paper by Phillip Wadler, seems to outline the case pretty conclusively.<p>Or maybe, as my 5th-grader says, &quot;There&#x27;s school math, and then there&#x27;s fun math&quot;. Programs are not arithmetic, that&#x27;s true. I think Ms Mei&#x27;s view of &quot;math&quot; is impoverished, and this blog post is proof.
rizwanalmost 11 years ago
100% agree with this. Anecdotally, I know a lot of people who would be great at programming but they&#x27;d never consider it because of their pre-conceived notion that they&#x27;d have to be good at math first.<p>I&#x27;ve never been particularly good at math, and learned enough to get by in my CS theory classes. I hardly ever use math to program, unless the problem is specifically math-based or geometry-based. To me, programming is communication and organization.
thyrsusalmost 11 years ago
For me, programming is math because nowhere else in my experience do I have the degree of certainty that I have in programming. The article seems to think that calculus is the archetype of mathematics, but integers are mathematical objects as well. As natural numbers, 1+1=2 - always. Just like programming. Except the natural numbers never fail due to a failed disk drive, power supply, fan, electrostatic discharge, etc, HOWEVER, those externalities are never a part of programming (just as sleep deprivation is never part of mathematics) unless you&#x27;re explicitly modelling failures, and in that case, you&#x27;re making a mathematical model of a system that includes failures. Outside of programming and mathematics, entities and operations on them are usually much less reliable.<p>When you program, you manipulate a mathematical object, not the physical embodiment of that object. If you&#x27;re dealing with the physical embodiment, you&#x27;re a chip designer. Even at the level of FPGAs, your dealing more with the mathematical model of the device than with the details of the device itself.
davidy123almost 11 years ago
There are different types of programming, ranging from directly applied theory, for example scientific modelling, to solving everyday problems, for example creating an interface to a health system. In the best case multidisciplinary teams will work together to solve problems to support many perspectives. Pure math is sometimes necessary, but in many cases it&#x27;s not, and the projected requirement to be a math expert to participate in formulating new digital connections is a very harmful force causing digital illiteracy and wasted opportunities for participation.
seanflyonalmost 11 years ago
Programming is to math as engineering is to physics
tabrischenalmost 11 years ago
This is a useful article to show people who are deterred from learning programming because they think they&#x27;re bad at maths.
reverius42almost 11 years ago
False dichotomy. Math is a language, too.