|
|
|
|
|
by formula1
3681 days ago
|
|
To be honest, I have no idea what you mean by "read it like text". Your debugging method of - 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 |
|
But, the idea is to try and understand why was the code written like that, what is the model the original programmer had in mind, and whether there could be more of the same errors in other places. It's the way you can see a db table and immediately know where will there be issues in the db design.