Monday, September 14, 2009

Coding Standards - Why they are important

Coding Standards in our codes is very important in today's developing world. If there are no standards, how can anyone read your or anybody's code? If there was no MLA formmating in writing, everyones citations for their paper's would be all over the place and no one could understand where that writer got their resources. MLA formmating and Coding Standards give guidelines so anyone anywhere can read the code.

So far using using coding standards in class has not been difficult. I have been using it for my college career and it is easy to read my own code when I bring it up again to look at it. The only difference between now and when I first started my Software Engineering class, is the use of tabs. Tabs made the code look real nice and organized, however learning that tabs could be interpreted differently in a different environmet made it hard to stop using it. But since eclipse has a format option, it made it easy to eliminate those tabs.

Click here to see my new robocoding standards.

What is new in my code
While looking at my classmate's code, I noticed that on some of my codes I use the most complicated way to make it work. This reminded me from what my professor has said about his career, there is always a way that what your doing could be made simpler. While looking at my classmate BJ DelaCruz's code, I noticed that the code I wrote is a billion lines longer than what he had. So I looked at his code and made mine similar to what he had, I tried to make my code unique so it is not like I copied his code line for line, BUT his code is so simple that there is no way to not see the difference.

In everything you do, there will always be someone that could do better.

No comments:

Post a Comment