{"id":472,"date":"2013-02-17T18:35:58","date_gmt":"2013-02-17T11:35:58","guid":{"rendered":"http:\/\/nvntung.wordpress.com\/?p=472"},"modified":"2014-01-27T23:49:07","modified_gmt":"2014-01-27T16:49:07","slug":"coding-style-guide","status":"publish","type":"post","link":"https:\/\/www.itersdesktop.com\/vi\/2013\/02\/17\/coding-style-guide\/","title":{"rendered":"Coding style guide"},"content":{"rendered":"<p>I read <a href=\"http:\/\/www.seas.upenn.edu\/~cis190\/style.html\" target=\"_blank\">the article<\/a> this morning and liked this statement &#8220;Programming style is one of the <a href=\"http:\/\/en.wikipedia.org\/wiki\/Indent_style\">holy wars<\/a> of computer programming. However, regardless of your tastes one thing is certain: when in Rome, do as the Romans do. That is, learning the accepted style of a programming language is just as important as learning the language itself.&#8221; Below are the coding style guides of which you should be aware: <a href=\"http:\/\/google-styleguide.googlecode.com\/svn\/trunk\/cppguide.xml\" target=\"_blank\">Google C++ style guide<\/a> <a href=\"https:\/\/developer.mozilla.org\/En\/Developer_Guide\/Coding_Style\" target=\"_blank\">Mozilla coding style guide<\/a> <a href=\"http:\/\/www.seas.upenn.edu\/~cis500\/cis500-f06\/resources\/programming_style.html\" target=\"_blank\">OCaml style guide<\/a> Java style guide Microsoft style Hungarian style Linux kernel C style <a href=\"http:\/\/geosoft.no\/development\/cppstyle.html\">http:\/\/geosoft.no\/development\/cppstyle.html<\/a><\/p>\n<p><a href=\"http:\/\/gcc.gnu.org\/wiki\/CppConventions\">http:\/\/gcc.gnu.org\/wiki\/CppConventions<\/a><\/p>\n<p><a href=\"http:\/\/www.yolinux.com\/TUTORIALS\/LinuxTutorialC++CodingStyle.html\">http:\/\/www.yolinux.com\/TUTORIALS\/LinuxTutorialC++CodingStyle.html<\/a><\/p>\n<p><a href=\"http:\/\/www.possibility.com\/Cpp\/CppCodingStandard.html\">http:\/\/www.possibility.com\/Cpp\/CppCodingStandard.html<\/a><\/p>\n<p><a href=\"http:\/\/google-styleguide.googlecode.com\/svn\/trunk\/cppguide.xml#The__define_Guard\">http:\/\/google-styleguide.googlecode.com\/svn\/trunk\/cppguide.xml#The__define_Guard<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>I read the article this morning and liked this statement &#8220;Programming style is one of the holy wars of computer programming. However, regardless of your tastes one thing is certain:&hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[54,94],"class_list":["post-472","post","type-post","status-publish","format-standard","hentry","category-programming-languages","tag-coding-style","tag-programming-style"],"_links":{"self":[{"href":"https:\/\/www.itersdesktop.com\/vi\/wp-json\/wp\/v2\/posts\/472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itersdesktop.com\/vi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itersdesktop.com\/vi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itersdesktop.com\/vi\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itersdesktop.com\/vi\/wp-json\/wp\/v2\/comments?post=472"}],"version-history":[{"count":4,"href":"https:\/\/www.itersdesktop.com\/vi\/wp-json\/wp\/v2\/posts\/472\/revisions"}],"predecessor-version":[{"id":1313,"href":"https:\/\/www.itersdesktop.com\/vi\/wp-json\/wp\/v2\/posts\/472\/revisions\/1313"}],"wp:attachment":[{"href":"https:\/\/www.itersdesktop.com\/vi\/wp-json\/wp\/v2\/media?parent=472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itersdesktop.com\/vi\/wp-json\/wp\/v2\/categories?post=472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itersdesktop.com\/vi\/wp-json\/wp\/v2\/tags?post=472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}