Earlier quoted context omitted.
You confuse map with the territory. By the same logic you can say quarks are mathematics, because they are modeled by a theory that has some mathematics in it.
That may be true to some extent, but I think you are missing the point. Quarks are physical in nature, and code is logical in nature. Programs themselves are formal systems. Code isn’t just modelled by mathematics, it is defined by mathematics. In the case of code, we can argue that the map is the territory.
The language brain matters more for programming than the math brain? (2020)
421–430 of 465 posts
Re: The language brain matters more for programming than the math brain? (2020)
#422Earlier quoted context omitted.
That may be true to some extent, but I think you are missing the point. Quarks are physical in nature, and code is logical in nature. Programs themselves are formal systems. Code isn’t just modelled by mathematics, it is defined by mathematics. In the case of code, we can argue that the map is the territory.
Code is logical if you define logic as reasoning in general, broader than mathematics, and since it runs in physical environment, it now interacts with a messy world. Code is defined by business requirements, and there's no mathematics for that.
Those business requirements are inputs to the process of writing the code.
Once the code is actually written, that exists as a formal logical system, defined by mathematics, not business requirements.
Re: The language brain matters more for programming than the math brain? (2020)
#423Earlier quoted context omitted.
That is a narrow perspective of mathematics and computer science. Assigning a variable is a mathematical operation. It is a logical state transition. This is formalized in Programming Language Theory. We are not talking about quarks. We are talking about lines of code which are objectively mathematical statements, no matter how non-mathematical they seem to you subjectively. You start with a practical problem to solv…
You confuse map with the territory. By the same logic you can say quarks are mathematics, because they are modeled by a theory that has some mathematics in it.
If you're going to accuse someone of confusing the map with the territory, you really should make sure you aren't making the same error.
Re: The language brain matters more for programming than the math brain? (2020)
#424Earlier quoted context omitted.
> These more abstract skills—not basic arithmetic—are essential for understanding recursion, type inference, or algorithm design. No they're not. Academia has spent decades trying to formalize many aspects of programming and continues to be confused by the lack of correlation between comp sci grads and innovative programmers. Why is it that the drop-outs are succeeding so wildly? Recursion, for example, is learned by…
The drop-outs are "succeeding wildly" because people like Turing, Church, and Hilbert invented the sand pit they're playing in. Knuth created LaTeX. Pandoc is written in Haskell, famous for being a completely useless academic language with no real purpose beyond torturing undergraduates (it says here.) Efficient search and data compression algorithms aren't hacked together in late night hobby coding sessions. Cryptog…
Like Rijndael?
Re: The language brain matters more for programming than the math brain? (2020)
#425Earlier quoted context omitted.
You point out the "is a" relationship, not the "is" relationship, they are different. [0] Find examples with two singular nouns and just the word 'is'. The phrase in question: 'Math is language' is an example, or something like 'food is love' is too. I concede you could interpret those last few sentences with poetic license to be read more like: "A is a form of B", or "A is a B" - though that is not what was written…
> You point out the "is a" relationship, not the "is" relationship, they are different. Well, what you reacted to was, let me copy'n'paste, "Math is a language". It was you who insisted that "is" in this sentence maps to "equals" relation, so thanks for agreeing that you were wrong.
The problem here all comes down to seadan83 acting in bad faith and using an intentional misinterpretation of my words in order to fit them to their conclusion. I'm not going to entertain them more because I won't play such a pointless game. The ambiguity of written and spoken language always allows for such abuse. So either they are a bad faith actor "having fun" (trolling) finding intentional misinterpretations to frustrate those who wish to act in good faith or they are dumb. Personally, I don't think they're dumb.
Re: The language brain matters more for programming than the math brain? (2020)
#426Earlier quoted context omitted.
> Not "coding uses math", I mean it is math > I mean equivalent in the way mathematicians do That sounds like you're backing off from your original claim, probably because it is impossible to defend. That you can use mathematics to describe code doesn't seem very different from using math to describe gravity, or the projected winner in an election, or how sound waves propagate. Isn't the primary purpose of math to de…
> Isn't the primary purpose of math to describe the world around us? No, that's Physics[0]. I joke that "Physics is the subset of mathematics that reflects the observable world." This is also a jab at String Theorists[1]. Physicists use math, but that doesn't mean it is math. It's not the only language at their disposal nor do they use all of math. > software engineering has nothing to do with mathematical abstractio…
That's not unique, all quantitative theories allow small modifications. Then you select parsimonious theory.
Re: The language brain matters more for programming than the math brain? (2020)
#427Earlier quoted context omitted.
> Math major here Forgive me if I doubt, but your comment would strongly suggest otherwise, along with this one[0]. The reason for doubt is a failure in fairly basic logic. Your claim is: ¬(A ↦ B) ⟹ ¬(B ↦ A) I'd expect anyone willing to claim the title of "math major" is aware of structures other than bijections and isomorphisms. The mapping operator doesn't form an abelian group. [0] https://news.ycombinator.com/ite…
The word "is", typically refers to the logical equals operator (written as "="). Let A = Math, and let B = Language, the phrase "Math is Language" is therefore "A = B". My claim is that "B != A", which implies "A != B" because "!=" is reflexive. "A != B" then contradicts the claim "A = B". In words: because "language is not math", therefore it cannot be true that "math is language". This is not number theory, not set…
> No, my counter claim is simply that because "B != A" therefore "A != B"
We all know that this is not always true. It may be true in certain cases, in certain fields (pun intended), but you know that this is such a basic logical fallacy that it is taught to children.Here's a counterexample so we can lay this to rest.
Let "A" be "a square"
Let "B" be "a rectangle"
B != A -> "A rectangle is not a square" (True)
A != B -> "A square is not a rectangle" (False)
Stop cosplaying, stop trolling, stop acting in bad faith.Did you even look at my name? There's 2 people that should come to mind. Certainly any logician would notice.
Re: The language brain matters more for programming than the math brain? (2020)
#428Earlier quoted context omitted.
Sure, lambda calculus is math. To call assembly or typical imperative C math, at least in the same sense, is a bit of a stretch.
Working with different objects doesn't make it any less of math. Just because you can derive calculus from set theory (analogous to assembly or even binary here) doesn't make calculus "not math". Math is about abstractions and relations. See the Poincare quote again. Plus, the Programming Languages people would like to have a word with you. Two actually: Category Theory. But really, if you get them started they won't…
Re: The language brain matters more for programming than the math brain? (2020)
#429Earlier quoted context omitted.
CREATE, READ, UPDATE, DELETE are fundamentally mathematical in nature. In a typical implementation these are database operations. That involves relational algebra operations, state transitions, boolean logic. The READ part can be a very complex SQL query (composed of many algebraic operations) but even the simplest query (SELECT * from t where ID = 1) is filtering a set based on a predicate. That is mathematics. No o…
It's almost the argument of programming vs computer science coming out here. This is math: {x | x.id = 1} OTOH, a SQL query is a SQL query. This thread is hilarious though. It's like - Cashier: here is your change. - Customer: you did math! - Cashier, no, I gave you change. - Customer: that IS math! - Cashier: You mean, I used math to give you change? - Customer: No, giving change doesn't use math, it IS math!!!!" [2…
Computer programs are proofs[1]. This is intuitively and also formally true. You would agree writing proofs is doing math, yeah? Then obviously writing a computer program is also doing math.
Like I have a degree in math and have been a software engineer for over a decade. I do not know what distinction people are trying to get at. It's like trying to argue about the distinction between U(1), the complex numbers with magnitude 1, and the unit circle, and getting upset when the mathematicians say "those are 3 names for the same thing". Or saying that writing C is programming but writing in a functional language like Scala or Haskell (or Lean) is not.
[0] Modulo details like NULLs and multi-set semantics, but surely that's not the distinction?
[1] Up to isomorphism
Re: The language brain matters more for programming than the math brain? (2020)
#430Earlier quoted context omitted.
Code is logical if you define logic as reasoning in general, broader than mathematics, and since it runs in physical environment, it now interacts with a messy world. Code is defined by business requirements, and there's no mathematics for that.
Now you’re talking about the human activity of writing code, not the code itself. Those business requirements are inputs to the process of writing the code. Once the code is actually written, that exists as a formal logical system, defined by mathematics, not business requirements.
>Once the code is actually written, that exists as a formal logical system, defined by mathematics
I still think that's not code, but your favorite model of code. For spellchecker language is defined by mathematics too: it splits text into words by whitespace, then for each word not found in dictionary it selects best matches and sorts them by relevance. Oh and characters are stored as numbers.