3 ms·
Reading and understanding code is more important than writing imo
by binsquare 8mo ago
Reading and understanding code is more important than writing imo
- eikenberry 8mo agoIt’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.
- tomjakubowski 8mo agoYeah, 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.
- fragmede 8mo agoIf that were true, then only the person who wrote the code could ever understand it enough to fix bugs, which is decidedly not true.
- jason_oster 8mo agoI’ll grant you that there are many trivial software defects that can be identified by simply reading the code and making minor changes. But for architectural issues, you need to be able to articulate how you would have written the code in the first place, once you understand the existing behavior and its problems. That is my interpretation of GP’s comment.