r/programming • • Dec 16 '20

To the brain, reading computer code is not the same as reading language

https://news.mit.edu/2020/brain-reading-computer-code-1215
4.4k Upvotes

546 comments sorted by

View all comments

Show parent comments

2

u/quiteamess Dec 17 '20

I wonder if there are differences between functional programming and imperative programming with respect to the language representations being involved. David Corfield claims that we use dependent types in natural language. Perhaps the lack of typing information was the reason that language networks were not involved.

1

u/automata_theory Dec 17 '20

Interesting. I do feel more at home reading typed code.

1

u/quiteamess Dec 17 '20

Systematicity may have something to do with this. In Haskell it's pretty cool when you think about how the implementation of a type signature might look like and then it's exactly (minus some technical stuff) the same thing on hackage.

1

u/automata_theory Dec 17 '20

Thanks for the paper, yet again mathematicians need for maximal abstraction gives others a new way generalize their own field.