Live data from Hacker News

The language brain matters more for programming than the math brain? (2020)

massivesci.com

81–90 of 465 posts

Re: The language brain matters more for programming than the math brain? (2020)

#81
post #80

Earlier quoted context omitted.

> Recursion is also fundamentally linguistic What does this mean exactly?

>> Recursion is also fundamentally linguistic > What does this mean exactly? What does this mean exactly?

Cute, but do you have a serious answer?

Re: The language brain matters more for programming than the math brain? (2020)

#82

So maybe it makes sense that LLMs do okay at programming even though they lack the ability to reason?

They don't do okay. Quite on the contrary.

My experience is that they spit out reasonably looking solutions but then they don't even parse/compile.

They are OK to create small spinets of code and completion.

Anything past that they suck.

It's actually hilarious that AI "solved" bullshiting and and artistic fields much better and faster than say reasoning fields like math or programming.

It's the supreme irony. Even 5 years ago the status quo was saying artistic fields were completely safe from the AI apocalypse.

Re: The language brain matters more for programming than the math brain? (2020)

#83

Good code doesn’t just solve a problem, it solves it in a way that’s readable and modular. I think the problem-solving part of coding requires math skills, while the organization part requires writing skills. The organization part affects the problem-solving part, because if you write messy code (that you can’t reread once you forget or extend without rewriting) you’ll quickly get overwhelmed. Writing large math proo…

Most coding doesn't need much of any math past boolean logic and very basic set operations. I'm much more likely to spend my time studying DB and interface schemas to understand how something works than doing a lot of mathy fiddling. Sure, some people write game engines and such, but even much of 3D graphics doesn't need anything more complicated than the first half of a linear algebra course.

Now we're getting into the "define maths" part of the discussion which is always where these discussions die. It can be argued that turning a kettle on and boiling some water is "maths" or it can be as narrow as "everything above basic arithmetic is logic, not maths."

So how much of programming is maths? Before we answer that, let's answer: How much of maths is actually maths? Because first we define maths, and then we define programming based on whatever that is, but until we have that first concrete definition this discussion cannot occur.

I will add that "it is taught by the maths department in college" is a flimsy argument, and frankly one the Physics department in particular would mock.

Re: The language brain matters more for programming than the math brain? (2020)

#84

This says more about our programming languages than it does about the brain. I've always wondered why FP isn't more popular. I concluded it's because most folks don't like thinking like abstract math.

I can't speak for other forms of FP, but symbol operators make communicating about haskell very annoying. Outside of that FP seems to be doing fine, IMO.

Try APL, you'll be begging for FP.

Re: The language brain matters more for programming than the math brain? (2020)

#85

So maybe it makes sense that LLMs do okay at programming even though they lack the ability to reason?

I would say the fact they do better than anyone could have imagined using just language points in the same direction, okay is very much up for debate imo.

It's like people enjoy extrapolating their surprise when it comes to LLMs, and I don't think it's very helpful.

Re: The language brain matters more for programming than the math brain? (2020)

#86
Makes sense to me. "Language" is an oft-forgotten part of "programming language." I'm sure math skills probably would better predict, say, ability to do well in advanced theory classes, but programming doesn't require that. It DOES require learning a specialized language.

Re: The language brain matters more for programming than the math brain? (2020)

#87
post #66

Earlier quoted context omitted.

Most coding doesn't need much of any math past boolean logic and very basic set operations. I'm much more likely to spend my time studying DB and interface schemas to understand how something works than doing a lot of mathy fiddling. Sure, some people write game engines and such, but even much of 3D graphics doesn't need anything more complicated than the first half of a linear algebra course.

The difficulty is in how many relationships you need to keep in mind, not in how hard each of them are. Just like in math. BTW relational DBs are math.

> BTW relational DBs are math.

It's funny, reading the post you're replying to, I basically read it as

> I don't need math, I need

My teenage daughter used to complain about math, and I spent some time trying to explain to her that we use math every day... EVERY day. Now, when I see her do something that was math (even if it's not obvious it was math), I say "Math... every day". I say that a lot.

Also, yes, my daughter finds me annoying. But also funny; but likely not for the math thing.

Re: The language brain matters more for programming than the math brain? (2020)

#88
post #78

There is no such thing as a "language brain" or a "math brain" unless you show experimentally that those bunch of neurons can be grouped into two non-overlapping regions dedicated to "language" and "mathematics". Mathematics itself is a human-made formal language that can be bootstrapped from definitions and axioms of logics and set theory, which have to be given in human language first. Experienced mathematicians re…

Dyscalculia, dysgraphia and dyslexia can all present independent of one another, heavily implying that different processes govern math, reading and writing. To call them "language brain" and "math brain" is simply a useful fiction, whether they're actually separate piles of meat is irrelevant.

Re: The language brain matters more for programming than the math brain? (2020)

#89
post #43

Earlier quoted context omitted.

Language has an inherently recursive structure: I saw the man who saw the man who saw the man who saw the man who saw the man who... While our brains have practical limits to how deeply such things can actually be nested, language has a recursive tree-like aspect to it.

Yes, but “language is fundamentally recursive” doesn’t mean the same thing as “recursion is fundamentally linguistic”. Language is just one example of a recursive structure.

I am also unsure whether recursion is fundamentally linguistic, but I thought that “language remains the easiest demonstration of recursion in our daily lives” to be useful. If I ever write another essay about recursion, I'll now consider starting with a linguistic example before diving into recursive functions or data structures.

Re: The language brain matters more for programming than the math brain? (2020)

#90

Makes sense to me. "Language" is an oft-forgotten part of "programming language." I'm sure math skills probably would better predict, say, ability to do well in advanced theory classes, but programming doesn't require that. It DOES require learning a specialized language.

> It DOES require learning a specialized language.

Which... is what math is, too.

Post reply on HN