|
|
|
|
|
by erez
3681 days ago
|
|
I hate these kind of headlines. There's nothing inherently special in Virginia Woolf when it comes to programming, and her name isn't mentioned anywhere in the article but the headline, so why use her name? And when I start reading the article, realising this is "to be a better programmer, read novels etc." article, I have no desire to go on reading. As such, I've been a proponent of reading code like text, instead of the usual maintenance method of locating the line with the bug, making the most minimal change and leaving everything else as-is. I believe the more I read the actual program, the better I can understand why was there a bug, get some insight into the original programmer's thinking, and maybe get some more idea on how to better fix the problem. |
|
- locate the issue
- understand the entirety of the segment to avoid other pitfalls and understand the issues intended purpose
- minimize changes to avoid creating bigger problems. Rewrite entire segment if necessary (which is why encapsulation is so important)
I dont see how this is reading it like text or what that means to be honest. When I read poetry I read every single line. When I read a novel, I rarely I will glance over dialogue or entire segments because I understand the inteded gist. When I read the news I look for where the fluff ends and read the paragraph to understand what the hell is going on.
If anything I believe we should read more news to be better debuggers. Locate the problem quickly and understand in its entirety. A personal opinion of course