{"id":542,"date":"2012-01-24T16:10:38","date_gmt":"2012-01-24T16:10:38","guid":{"rendered":"http:\/\/blogs.kent.ac.uk\/mik\/?p=542"},"modified":"2020-05-15T15:46:58","modified_gmt":"2020-05-15T15:46:58","slug":"joc-13","status":"publish","type":"post","link":"https:\/\/blogs.kcl.ac.uk\/proged\/2012\/01\/24\/joc-13\/","title":{"rendered":"JoC #13: The structure of a class"},"content":{"rendered":"<p><em>\u00a0 \u00a0 \u00a0 We know accurately only when we know little; with knowledge doubt increases.<\/em><br \/>\n<em>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u2014 Goethe<\/em><\/p>\n<p>It&#8217;s time to pause a little bit with our code writing and analyse what we have so far. We want to make sure that we properly understand what&#8217;s going on.<\/p>\n<p>So, today you&#8217;ll get a deeper understanding of code structure and \u2013 as a bonus \u2013 find out a bit about comments.<\/p>\n<p><iframe loading=\"lazy\" title=\"The Joy of Code #13: Structure of a class\" width=\"584\" height=\"329\" src=\"https:\/\/www.youtube.com\/embed\/21Btgjv9b1Q?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p style=\"text-align: right\"><a href=\"http:\/\/www.greenfoot.org\/static\/joc\/mov\/JOC-13.mov\">Download video<\/a><\/p>\n<p><strong>Concepts discussed<\/strong>:\u00a0<em>class structure, class header, comments<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 \u00a0 \u00a0 We know accurately only when we know little; with knowledge doubt increases. \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u2014 Goethe It&#8217;s time to pause a little bit with our code writing and analyse what we have so &hellip; <a href=\"https:\/\/blogs.kcl.ac.uk\/proged\/2012\/01\/24\/joc-13\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":179,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,6],"tags":[30,38,49,70],"class_list":["post-542","post","type-post","status-publish","format-standard","hentry","category-greenfoot-software-tools","category-joy-of-code","tag-class","tag-constructor","tag-field","tag-method"],"_links":{"self":[{"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/posts\/542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/users\/179"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/comments?post=542"}],"version-history":[{"count":1,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/posts\/542\/revisions"}],"predecessor-version":[{"id":1102,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/posts\/542\/revisions\/1102"}],"wp:attachment":[{"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/media?parent=542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/categories?post=542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/tags?post=542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}