4 ms·
The reversed relationship however, is strong: maths benefits programming learning immensely.
by ggm 4y ago
The reversed relationship however, is strong: maths benefits programming learning immensely.
- user432678 4y agoCompletely agree. And also disagree with the research results to some extent. My anecdotal experience is quite the opposite. I have started grasping programming while at school specifically to be able to make games. And that helped me immensely to learn math and physics.
- xor99 4y agoDo you have proof of this like a large participant study or it is just intuition or your personal experience? I feel like lots of people who are good at maths are good at programming but they are not actually similar structurally. 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.
- thesz 4y agoLanguages are part of mathematics. Please read this fascinating book: https://dickgrune.com/Books/PTAPG_1st_Edition/ https://dickgrune.com/Books/PTAPG_1st_Edition/ Parsing, generating phrases, understanding (analysis), etc, are all studied in applied math.
- deleted 4y ago[deleted]
- xor99 4y agoAh cool, that looks interesting! 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-of-people-coding-isnt-quite-like-when-they-use-language-or-do-math.html https://boingboing.net/2020/12/30/study-finds-brain-activity...
- thesz 4y agoPython is fairly distant from actual math. 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. ;)
- epgui 4y ago> but they are not actually similar structurally. The Curry-Howard isomorphism wants a word.
- xor99 4y agoTrue, I guess as the other commenter has pointed out there is a huge difference between scripting languages and their seeming closeness to natural language compared to mathy languages like Haskell that have this isomorphism and are very structurally similar.
- epgui 4y agoA less type-safe language would still be isomorphic to a mathematical proof, but it could contain a wider range of errors compared to a more type-safe language. The language could be either functional or imperative, and still be isomorphic to a proof. 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.
- trgn 4y agoAbsolutely, in practice, math degree is such a good indicator whether a hire will grok code.
- chrisseaton 4y ago> The reversed relationship however, is strong Is it? How do you know?
- ggm 4y agoBy osmosis. 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.
- chrisseaton 4y agoI'm absolutely atrocious at maths and I have a PhD and successful-enough research career in CS - they seem disjoint to me.
- ggm 4y agoYes but that's anecdata against statistics, studies and theories of mind. 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
- chrisseaton 4y ago> Yes but that's anecdata against statistics, studies and theories of mind. 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?
- ggm 4y agoThere's a bizarre adversarial quality in your engagement here. If I implied I didn't know I was speaking anecdata I apologize. However, since the searches in google to find papers which discuss the role of mathematics in computer science education are trivial as are the ones which argue language skills are more important, I really don't see why I have to do this. 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+mathematics+in+learning+computer+science&hl=en&as_sdt=0&as_vis=1&oi=scholart https://scholar.google.com.au/scholar?q=the+role+of+mathemat... https://scholar.google.com.au/scholar?q=the+role+of+language+in+learning+computer+science&hl=en&as_sdt=0&as_vis=1&oi=scholart 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-education/literature-review-pedagogy-in-teaching.pdf https://royalsociety.org/-/media/policy/projects/computing-e...