News for hackers. Stuff that matters.
Re:Holding a Program in One's Head (2007) by xanderlewis on Wednesday September 18, 2024 @05:17PM (#41585655)
The comparison with mathematics also makes sense here. It’s much easier to spot typos in other peoples’ work than your own for exactly that reason: when you read back what you wrote, you read back what you meant to write rather than what’s actually there.

Open any textbook (even a fourth edition of a famous one, written by an expert) and you’ll find countless typos. In fact, in a certain sense, the more expert you are the less suitable you are as a proof reader for such books.

Re:Holding a Program in One's Head (2007) by lanstin on Wednesday September 18, 2024 @06:33PM (#41586337)
One of my undergrad tutors taught complex analysis with a book she had written, and she offered a reward for any one who found an error. She said the best students never claimed the reward, only the people that had to study each word carefully.
Re:Holding a Program in One's Head (2007) by xanderlewis on Thursday September 19, 2024 @06:51AM (#41590498)
I proudly study each word carefully.
Re:Holding a Program in One's Head (2007) by jpc0 on Thursday September 19, 2024 @04:20AM (#41589709)
You touched on it but I've experienced the same reading code when I knew what was intended by the code, regardless of who wrote it. I miss obvious but simple bugs because I only read what it is mean to do.