News for hackers. Stuff that matters.
Re:To the brain, reading computer code is not the same as re... by wtallis on Tuesday December 15, 2020 @09:51PM (#25438479)
I think the programming analog of sight reading might be following along with assembly language or other low-level or simple imperative code while mentally tracking basic stuff like register/variable usage and control flow. Sight reading music doesn't involve real-time analysis of the broader abstract structure of the piece. That's not really applicable to high-level code making heavy use of nested abstractions or non-imperative paradigms.
Re:To the brain, reading computer code is not the same as re... by analog31 on Tuesday December 15, 2020 @10:06PM (#25438583)
That's right. The level of analysis during sight-reading is along the lines of: "I hope I don't screw up in the next 500 milliseconds, and who's that person who just came in the front door?"