I have talked about the extent of writing code and some of the constraints
in that. (i.e typing speed , design time,...etc )
But this thread more focuses on reading code.
I am curious to know a few things about it. (obviously you can read code faster then you can write code but its hard to say weather you can comprehend code fast on average then writing code)
1) If somebody was an expert at a particular language say c/c++ he could easily read or write a simple application pretty quick. However to analysis the reading of code is harder to analysis the extent of what you can write in a day.
Because different people comprehend differently simple put somebody could be an expert at writting code but suck at reading thru large project and understanding them. Simply not being able to read/understand the code you are developing on very well makes it impossible almost to build on the code even if you can write good code.
So my main question is can an expert programmer in a particular language that sucks at reading others code improve on his reading/comprehension abilities of it. Or is there some people just genetically better at figuring out/reading thru code?
To improve reading code obviously practice and a well understanding of the language is a plus. But do different people have different limit... and are these different limit very far off from one another?
The only thing I can think of of improving reading code is to actually start reading , using debuggers to step thru code , and modifying somethings and seeing what happens. After awhile you get more familiar usually.
But is there other ways to improve your reading and comprehending of code... the only other obvious think I can think of is working with others or asking the person who wrote some of it if possible (but even that is a stretch in most case)
Your thoughts
Question 2
What do you guys think is easier ( I have asked a few people and I am getting mixed answers so maybe this below question is opinionated and differs for different people)
Here goes
Provided you are an expert programmer what is harder
writing a simple application or reading/comprehending a simple application that another wrote?
Note this question is very general so feel free to put stipulations on lines of code to write/read or other things if needed to make your choice more precise.
Thanks for any of your thoughts
in that. (i.e typing speed , design time,...etc )
But this thread more focuses on reading code.
I am curious to know a few things about it. (obviously you can read code faster then you can write code but its hard to say weather you can comprehend code fast on average then writing code)
1) If somebody was an expert at a particular language say c/c++ he could easily read or write a simple application pretty quick. However to analysis the reading of code is harder to analysis the extent of what you can write in a day.
Because different people comprehend differently simple put somebody could be an expert at writting code but suck at reading thru large project and understanding them. Simply not being able to read/understand the code you are developing on very well makes it impossible almost to build on the code even if you can write good code.
So my main question is can an expert programmer in a particular language that sucks at reading others code improve on his reading/comprehension abilities of it. Or is there some people just genetically better at figuring out/reading thru code?
To improve reading code obviously practice and a well understanding of the language is a plus. But do different people have different limit... and are these different limit very far off from one another?
The only thing I can think of of improving reading code is to actually start reading , using debuggers to step thru code , and modifying somethings and seeing what happens. After awhile you get more familiar usually.
But is there other ways to improve your reading and comprehending of code... the only other obvious think I can think of is working with others or asking the person who wrote some of it if possible (but even that is a stretch in most case)
Your thoughts
Question 2
What do you guys think is easier ( I have asked a few people and I am getting mixed answers so maybe this below question is opinionated and differs for different people)
Here goes
Provided you are an expert programmer what is harder
writing a simple application or reading/comprehending a simple application that another wrote?
Note this question is very general so feel free to put stipulations on lines of code to write/read or other things if needed to make your choice more precise.
Thanks for any of your thoughts
Seems to me the deterring factor of adding on to a project or writting a new application from another is the fact that you must understand the code being add on to to some extent. Eventually we may hit a point where it gets to complex for a human to do any more but maybe I am wrong this not proven yet.
Last edited: