{"id":86,"date":"2021-03-24T04:53:11","date_gmt":"2021-03-24T04:53:11","guid":{"rendered":"http:\/\/jonathanlimpus.com\/wordpress\/?p=86"},"modified":"2021-03-24T04:53:11","modified_gmt":"2021-03-24T04:53:11","slug":"cst-338-week-3-learning-journal","status":"publish","type":"post","link":"http:\/\/jonathanlimpus.com\/wordpress\/index.php\/2021\/03\/24\/cst-338-week-3-learning-journal\/","title":{"rendered":"CST 338 &#8211; Week 3 Learning Journal"},"content":{"rendered":"\n<p>This week, we looked at multi-dimensional arrays. I have used these types of arrays in both C++ and Java previously. The largest I have used are two-dimensional arrays. I think anything larger than that is unreasonable, and I cannot think of an instance in which I would want to use one. Many other data structures exist that may be preferable in some of these scenarios. <\/p>\n\n\n\n<p>Inheritance allows you to avoid reusing code when defining multiple class that may have a similar function. For example, if I wanted two versions of a class, but I wanted one to print some values to the screen and I wanted one to hide the data, I could make a child class of the one and create a print function of it, rather than create a whole new class. I have used this concept in earlier computer science courses.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, we looked at multi-dimensional arrays. I have used these types of arrays in both C++ and Java previously. The largest I have used are two-dimensional arrays. I think anything larger than that is unreasonable, and I cannot think of an instance in which I would want to use one. Many other data structures &#8230; <a title=\"CST 338 &#8211; Week 3 Learning Journal\" class=\"read-more\" href=\"http:\/\/jonathanlimpus.com\/wordpress\/index.php\/2021\/03\/24\/cst-338-week-3-learning-journal\/\" aria-label=\"More on CST 338 &#8211; Week 3 Learning Journal\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8,7],"tags":[],"_links":{"self":[{"href":"http:\/\/jonathanlimpus.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/86"}],"collection":[{"href":"http:\/\/jonathanlimpus.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/jonathanlimpus.com\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/jonathanlimpus.com\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/jonathanlimpus.com\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=86"}],"version-history":[{"count":1,"href":"http:\/\/jonathanlimpus.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/86\/revisions"}],"predecessor-version":[{"id":87,"href":"http:\/\/jonathanlimpus.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/86\/revisions\/87"}],"wp:attachment":[{"href":"http:\/\/jonathanlimpus.com\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=86"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/jonathanlimpus.com\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=86"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/jonathanlimpus.com\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=86"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}