There are so many different coding standards you could use. I try to keep my code simple (very short functions) such that the different functions of an app are not too tied to each other. In that way, you easily change things in the code without breaking the whole thing. I ‘try’ to comment my code as much as possible… but it’s tiring. Another thing i’ve been trying to adopt lately is to take a ‘test-driven’ approach i.e., you write a test for a piece of code before you write the code… it makes you think about how you are going to write your code more!
As you explained above. You comments alot. Do you think the comment tag
(<!–) is designed to assist the person writing the code or for a person reading the code and examining it? What is your opinion based on your experiences?
Comments
n3rdy commented on :
As you explained above. You comments alot. Do you think the comment tag
(<!–) is designed to assist the person writing the code or for a person reading the code and examining it? What is your opinion based on your experiences?