logoalt Hacker News

eikenberryyesterday at 10:41 PM2 repliesview on HN

It’s pretty well established that you cannot understand code without having thought things through while writing it. You need to know why things are written the way the are to understand what is written.


Replies

tomjakubowskiyesterday at 11:06 PM

Yeah, just reading code does little to help me understand how a program works. I have to break it apart and change it and run it. Write some test inputs, run the code under a debugger, and observe the change in behavior when changing inputs.

fragmedetoday at 6:29 AM

If that were true, then only the person who wrote the code could ever understand it enough to fix bugs, which is decidedly not true.