雁飞SEO工作室 SEO
雁飞SEO工作室 SEO
点击[1158]   1 评论 分享 发布: 2011-10-20 分类:GHD

As developers, we often forget that chances are, someone besides you will be touching your code, and they will be lost reading it if your code is ugly. You should always be thinking in the back of your ghd mind “How can I make sure that people reading my code will say, “That’s Hot Code!”". See I think successful software developers view writing code more like an art form, than a science. Sure there is a lot of science in software development, however, once science becomes so complex that it requires finesse to get it done, it becomes art.

 

So much code out there is not commented at all. During software development, it seems ghd rettetang some developers don’t see the importance of it. When I look at code, I would love a brief explanation of what you are trying to do, any code hacks you used that need to be cleaned up later, etc. Adding a nice description to functions is awesome. Adding smaller bits of comments when needed within the code itself is also awesomeness. However, be careful not to go overboard and add to much detail! Your code should use variables that make sense, should flow, etc. However even the prettiest of code needs comments to make everything flow together nicely!


博客标签: ghd rettetang
1 评论