{"id":1269,"date":"2016-07-20T18:42:22","date_gmt":"2016-07-20T22:42:22","guid":{"rendered":"https:\/\/2016.toronto.wordcamp.org\/?post_type=wcb_session&#038;p=1269"},"modified":"2016-07-20T18:42:22","modified_gmt":"2016-07-20T22:42:22","slug":"clean-code","status":"publish","type":"wcb_session","link":"https:\/\/toronto.wordcamp.org\/2016\/session\/clean-code\/","title":{"rendered":"Clean Code"},"content":{"rendered":"<h3><em><strong>Session Description<\/strong><\/em><\/h3>\n<p>Yes, your code works, but is it the best it could be? This talk will guide you through tips and tricks to make your code efficient, safe, and easy to read. It&#8217;s a great primer for new developers, and a good reminder for those of us who have developed bad habits over time.<\/p>\n<h3><em><strong>Learning Outcomes<\/strong><\/em><\/h3>\n<p>&#8211; Understand the WordPress Coding Standard<br \/>\n&#8211; Write Short, Reusable Functions<br \/>\n&#8211; Begin using Unit Testing to ensure code functions as expected<br \/>\n&#8211; Begin using UI testing to ensure pages behave as expected<br \/>\n&#8211; Discuss benefits of code review<\/p>\n<h3><em><strong>User level<\/strong><\/em><\/h3>\n<p>All attendees are welcome to come to this session but the ones that will likely benefit the most\u00a0are intermediate &amp; advanced\u00a0developers.<\/p>\n<h3><em><strong>Prerequisites<\/strong><\/em><\/h3>\n<p>The\u00a0technical knowledge required to understand\u00a0this session is to have a\u00a0basic knowledge of PHP and the WordPress file structure.<\/p>\n<h3><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Session Description Yes, your code works, but is it the best it could be? This talk will guide you through tips and tricks to make your code efficient, safe, and easy to read. It&#8217;s a great primer for new developers, &hellip; <a href=\"https:\/\/toronto.wordcamp.org\/2016\/session\/clean-code\/\">Continue reading <span class=\"assistive-text\">Clean Code<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":5603640,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1470582000,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[1035],"footnotes":""},"session_track":[909936],"session_category":[],"class_list":["post-1269","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-track-4-rm-1-149"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p789Km-kt","session_date_time":{"date":"August 7, 2016","time":"11:00 am"},"session_speakers":[{"id":"1035","slug":"shawn-hooper","name":"Shawn Hooper","link":"https:\/\/toronto.wordcamp.org\/2016\/speaker\/shawn-hooper\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/toronto.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/1269","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toronto.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/toronto.wordcamp.org\/2016\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":3,"href":"https:\/\/toronto.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/1269\/revisions"}],"predecessor-version":[{"id":1493,"href":"https:\/\/toronto.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/1269\/revisions\/1493"}],"speakers":[{"embeddable":true,"href":"https:\/\/toronto.wordcamp.org\/2016\/wp-json\/wp\/v2\/speakers\/1035"}],"author":[{"embeddable":true,"href":"https:\/\/toronto.wordcamp.org\/2016\/wp-json\/wporg\/v1\/users\/shooper"}],"wp:attachment":[{"href":"https:\/\/toronto.wordcamp.org\/2016\/wp-json\/wp\/v2\/media?parent=1269"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/toronto.wordcamp.org\/2016\/wp-json\/wp\/v2\/session_track?post=1269"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/toronto.wordcamp.org\/2016\/wp-json\/wp\/v2\/session_category?post=1269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}