To the brain, reading computer code is not the same as reading language (2020) | Hacker News

· algiegray's blog


Brain Activity When Reading Code #

"Understanding computer code seems to be its own thing. It's not the same as language, and it's not the same as math and logic," says Anna Ivanova, an MIT graduate student and the lead author of the study.

Different Types of Code Reading #

"I feel like this is akin to asking someone to read a fairytale and to tell you how many times a person crossed a bridge in it, or what they carry in their hand in the end, or where the apple is when all is done. I don’t think this is about understand what is written, it’s about figuring out what that which is written means." - fmbb

The Role of Experience #

"I'm approaching 30 years of experience and I do read code like human language. The visualizations I'm using for data structures aren't really much different than visualizing a scene from a book." - Izkata

Implications for Programming Practices #

"The mediocre ones write their code for the computer/compiler/interpreter. When it works, they're done. The good ones write their code for human readers to understand, including their future self." - BurningFrog

Comparison with Other Brain Activities #

Top Quotes #

Key Takeaways #

source