Code Reading & Reading
Code Reading & Reading
Definitely your answer will be positive but if I ask you one more question in the series:
If you want to become a novelist, can you just start writing novels? I would say 100% no!!, you
definitely need to read hundreds of novels before you start writing GOOD novels. If you want to
become a movie script writer, can you start writing good movie scripts until you have gone through
various good movie scripts?, again my answer would be no!!
So, if you want to write a good software code, then how it will be possible for you to write a good
source code without reading tons of source codes? Even if you will write something, then how
would you and know which the best is?
Reading source code written by others gives you opportunity to criticize the mistakes done in
writing that code. You will be able to identify the mistakes other software developers have done in
their source code which you should not repeat.
There are many attributes of software codes indentation, comments, historyheader, functionstructure, etc. ,
which you will learn by reading existing code, specially, a code written by well-experienced
software developers. Spend some time in reading others' source code and I'm sure you would be
able to write BEAUTIFUL source code in few days or few weeks and you will be able to fix the
mistakes, which you were doing so far in writing the source code.
One thing to experiment, just go in the past and check the code you had written few years ago, you
will definitely laugh....because you are always improving by doing practice.
Loading [MathJax]/jax/output/HTML-CSS/jax.js