{"id":21,"date":"2023-01-27T05:23:57","date_gmt":"2023-01-27T05:23:57","guid":{"rendered":"https:\/\/blogs.oregonstate.edu\/yang\/?p=21"},"modified":"2023-01-27T05:23:57","modified_gmt":"2023-01-27T05:23:57","slug":"code-smells-comments","status":"publish","type":"post","link":"https:\/\/blogs.oregonstate.edu\/yang\/2023\/01\/27\/code-smells-comments\/","title":{"rendered":"Code Smells (Comments)"},"content":{"rendered":"\n<p>Code smells are codes that need to be reorganized and makes your current implementation hard to read or use, which often leads to software decay over time. Something I have always struggled with are code smells with comments. The comments I have for my code are sometimes too abstract and vague, but sometimes do not provide enough information for others to understand. Since now I am starting to work more with peers, re-evaluating my comments on codes will help both my peers and myself to cooperate together on current and future team projects.<\/p>\n\n\n\n<p>reference:<\/p>\n\n\n\n<p>&#8220;Handbook of Software Engineering Methods&#8221; (Letaw 2022)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Code smells are codes that need to be reorganized and makes your current implementation hard to read or use, which often leads to software decay over time. Something I have always struggled with are code smells with comments. The comments I have for my code are sometimes too abstract and vague, but sometimes do not [&hellip;]<\/p>\n","protected":false},"author":12992,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.oregonstate.edu\/yang\/wp-json\/wp\/v2\/posts\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.oregonstate.edu\/yang\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.oregonstate.edu\/yang\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/yang\/wp-json\/wp\/v2\/users\/12992"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/yang\/wp-json\/wp\/v2\/comments?post=21"}],"version-history":[{"count":1,"href":"https:\/\/blogs.oregonstate.edu\/yang\/wp-json\/wp\/v2\/posts\/21\/revisions"}],"predecessor-version":[{"id":22,"href":"https:\/\/blogs.oregonstate.edu\/yang\/wp-json\/wp\/v2\/posts\/21\/revisions\/22"}],"wp:attachment":[{"href":"https:\/\/blogs.oregonstate.edu\/yang\/wp-json\/wp\/v2\/media?parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/yang\/wp-json\/wp\/v2\/categories?post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/yang\/wp-json\/wp\/v2\/tags?post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}