To me it was always much more similar to some combination of learning a language and learning the linguistic rules of that language in great detail to the point where you have a metalinguistic understanding of it. Then, math would be an adjunct but very separate component that could be manipulated by the programming language.
Please read this fascinating book: https://dickgrune.com/Books/PTAPG_1st_Edition/
Parsing, generating phrases, understanding (analysis), etc, are all studied in applied math.
My interest in the comment was whether learning programming is like learning for natural languages or mathematics. At least one study shows that both intuitions about learning programming turn out to be wrong lol:
https://boingboing.net/2020/12/30/study-finds-brain-activity...
Haskell, for one example, is much closer, the definitions in Haskell are very math-y: let this = that in what; f x = z where z = g x y. Even list comprehension in Haskell is much more like the actual math notation than what is implemented in Python.
I work with fairly large code base(s) with tons of legacy, as of late. In my case, I do the detective work - find alleged culprits, link them, present evidence, prove, etc.
I guess in next study one should do MRI for detectives and programmers working on legacy code base. ;)
The Curry-Howard isomorphism wants a word.
A correct (error-free) computer program written in any language (even javascript) would be equivalent to a correct mathematical proof.
It's a bit mind-bogglingly profound, but that's the beauty of the Curry-Howard correspondence.
Is it? How do you know?
Are you seriously wrestling with the proposition that computing is a subfield of mathematics?
My intuition here is strong. I am deficient in maths and struggle with formalisms in computing. All my competent programming family & friends who program are mathematically literate. Those who program in functional languages especially so.
But your point though tersely made stands: it deserves to be demonstrated rather than just asserted. Certainly there are proponents of the theory language faculty matters more than mathematical ability.
I am also 44 years into an uninterrupted career in CS and networks. I still believe it's a strong indicator of skill and ability to have the maths chops I don't
I'm using anecdata? You said your argument was just 'intuition' a second ago and then gave some anecdotes about your mates.
Can you reference the statistics, studies and the data supporting the theories of mind?
If you want to disrate my responses because you feel they lack quality, go ahead. I see little signs you actually want to consider this possibility, where I am open to the question "which is more important, language or maths"
https://scholar.google.com.au/scholar?q=the+role+of+mathemat...
https://scholar.google.com.au/scholar?q=the+role+of+language...
or you could drill down in the royal society review of computer science education
https://royalsociety.org/-/media/policy/projects/computing-e...