{"id":4079,"date":"2023-03-02T19:02:33","date_gmt":"2023-03-03T00:02:33","guid":{"rendered":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/?p=4079"},"modified":"2023-03-02T19:02:33","modified_gmt":"2023-03-03T00:02:33","slug":"the-loop-saves-time-and-jobs-6b","status":"publish","type":"post","link":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/2023\/03\/02\/the-loop-saves-time-and-jobs-6b\/","title":{"rendered":"The Loop saves time and jobs 6b"},"content":{"rendered":"<p><span style=\"font-weight: 400\">As explained to me by our professor, one thing that professional coders do not like to see is the same lines of code written over again. Personally, I can understand this feeling, coding is complex and takes quite a bit of time, so providing the programmer with the proper tools to be more efficient is ultimately extremely beneficial. To prevent the need to create the same line of code multiple times, loops were created. To further explain, if we want a certain line of code to run more than one time, rather than type out that code into individual lines, you use a loop to have that code run a set amount of times. There are three types of loops:\u00a0 the \u201cfor\u201d loop, the \u201cwhile\u201d loop, and the \u201cdo-while\u201d loop.\u00a0 Loops were certainly very difficult for me to understand, I was unsure of how they were implemented into the code. After reading over some of my peers&#8217; blog posts, they all did a great job really breaking down the different kinds of loops, and ultimately they\u2019re the ones that helped me gain a better understanding of how they work. As I previously stated, in business being efficient is extremely important, and the implementation of the loop allows for much time to be saved and less errors to occur.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As explained to me by our professor, one thing that professional coders do not like to see is the same lines of code written over again. Personally, I can understand this feeling, coding is complex and takes quite a bit of time, so providing the programmer with the proper tools to be more efficient is [&hellip;]<\/p>\n","protected":false},"author":29445,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[10531],"tags":[845099,845102,845005,845006,178],"class_list":{"0":"post-4079","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-student-post","7":"tag-coding-language","8":"tag-for-loop","9":"tag-javascript","10":"tag-loops","11":"tag-mis","12":"entry"},"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts\/4079","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/users\/29445"}],"replies":[{"embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/comments?post=4079"}],"version-history":[{"count":1,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts\/4079\/revisions"}],"predecessor-version":[{"id":4080,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/posts\/4079\/revisions\/4080"}],"wp:attachment":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/media?parent=4079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/categories?post=4079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec730spring2023\/wp-json\/wp\/v2\/tags?post=4079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}