In short, one can read and understand good programmer code.
In my opinion, a good programmer code is an agnostic language ; well-written code can be read and understood in a short period of time with minimal thinking, regardless of the programming language used. Whether the code is in Java, Python, C ++ or Haskell, well-written code is understood by people who don’t even program in that particular language.
Some characteristics of the code that are easy to read are well-known methods, lack of "tricks" and confusing "optimization", classes are well designed to name a few. As others have noted, the coding style is consistent, concise, and straightforward .
For example, the other day I looked at TinyMCE code to answer one of the questions about stack overflow. This is written in JavaScript, a language that I barely used. However, due to the coding style and comments that are included, along with the structuring of the code itself, this was pretty clear, and after a couple of minutes I was able to navigate through the code.
One book that was perfectly clear to me for to read good programmer code, - Beautiful code . There are many articles written by the authors of various software projects in different programming languages. However, when I read it, I realized that the author wrote in his code, despite the fact that I did not even program in this specific language.
Perhaps we should remember that programming is also associated with communication not only with the computer, but also with people , so a good programmer code is almost like a well-written book that can communicate to the reader about the ideas he wants to convey.
coobird Dec 14 '08 at 16:57 2008-12-14 16:57
source share