{"id":19,"date":"2023-01-25T08:57:48","date_gmt":"2023-01-25T08:57:48","guid":{"rendered":"https:\/\/blogs.oregonstate.edu\/tanya\/?p=19"},"modified":"2023-01-25T08:57:48","modified_gmt":"2023-01-25T08:57:48","slug":"senior-capstone-blog-1","status":"publish","type":"post","link":"https:\/\/blogs.oregonstate.edu\/tanya\/2023\/01\/25\/senior-capstone-blog-1\/","title":{"rendered":"Senior Capstone Blog 1"},"content":{"rendered":"\n<p>One thing I would like to start doing more often would be to try implementing the boy scout rule in my code submissions. After reading chapter 1 of Robert Martin\u2019s &#8220;Clean Code: A Handbook of Agile Software Craftsmanship,&#8221;  I don&#8217;t know why, but I never really implemented this rule as much as I should when I would create my code submissions. &#8220;Change one variable name for the better, break up one function that\u2019s a little too large, eliminate one small bit of duplication, clean up one composite if statement&#8221;(Martin, 2008). I would like to try this out in the future and hopefully become a better coder and engineer by doing so. <\/p>\n\n\n\n<p>One thing I would want to avoid doing would be writing more comments than needed in my code submissions. I always struggled with writing less comments on my code submissions and looking back at what I&#8217;ve done, I can understand why I need to write less words and more code. Most of my code submissions are extremely crowded and hard to read because of my comments and I hope that I can stop this habit once and for all in the future. <\/p>\n\n\n\n<p>While reading chapter 3 of Martin Fowler&#8217;s &#8220;Refactoring: Improving the Design of Existing Code,&#8221; I learned that &#8220;comments are used as deodorant&#8221;(Fowler, 2018). Meaning, that more comments in a code submission means that the code is bad and is either hard to read or it doesn&#8217;t run\/work. It&#8217;s best to get rid of unnecessary comments and to use the extract and rename methods in order to write and or keep necessary comments. <\/p>\n\n\n\n<p>References:<\/p>\n\n\n\n<p>https:\/\/thixalongmy.haugiang.gov.vn\/media\/1175\/clean_code.pdf<\/p>\n\n\n\n<p>http:\/\/silab.fon.bg.ac.rs\/wp-content\/uploads\/2016\/10\/Refactoring-Improving-the-Design-of-Existing-Code-Addison-Wesley-Professional-1999.pdf<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One thing I would like to start doing more often would be to try implementing the boy scout rule in my code submissions. After reading chapter 1 of Robert Martin\u2019s &#8220;Clean Code: A Handbook of Agile Software Craftsmanship,&#8221; I don&#8217;t know why, but I never really implemented this rule as much as I should when [&hellip;]<\/p>\n","protected":false},"author":12893,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-19","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.oregonstate.edu\/tanya\/wp-json\/wp\/v2\/posts\/19","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.oregonstate.edu\/tanya\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.oregonstate.edu\/tanya\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/tanya\/wp-json\/wp\/v2\/users\/12893"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/tanya\/wp-json\/wp\/v2\/comments?post=19"}],"version-history":[{"count":1,"href":"https:\/\/blogs.oregonstate.edu\/tanya\/wp-json\/wp\/v2\/posts\/19\/revisions"}],"predecessor-version":[{"id":20,"href":"https:\/\/blogs.oregonstate.edu\/tanya\/wp-json\/wp\/v2\/posts\/19\/revisions\/20"}],"wp:attachment":[{"href":"https:\/\/blogs.oregonstate.edu\/tanya\/wp-json\/wp\/v2\/media?parent=19"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/tanya\/wp-json\/wp\/v2\/categories?post=19"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/tanya\/wp-json\/wp\/v2\/tags?post=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}