{"id":264,"date":"2016-08-29T22:04:17","date_gmt":"2016-08-29T22:04:17","guid":{"rendered":"https:\/\/2016.winnipeg.wordcamp.org\/?post_type=wcb_session&#038;p=264"},"modified":"2016-10-21T22:22:01","modified_gmt":"2016-10-21T22:22:01","slug":"coding-best-practices","status":"publish","type":"wcb_session","link":"https:\/\/winnipeg.wordcamp.org\/2016\/session\/coding-best-practices\/","title":{"rendered":"Coding Best Practices"},"content":{"rendered":"<p class=\"p1\"><span class=\"s1\">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.<\/span><\/p>\n<ul>\n<li class=\"p1\"><span class=\"s1\">Understand the WordPress Coding Standard<\/span><\/li>\n<li class=\"p1\"><span class=\"s1\">Write Short, Reusable Functions<\/span><\/li>\n<li class=\"p1\"><span class=\"s1\">Begin using Unit Testing to ensure code functions as expected<\/span><\/li>\n<li class=\"p1\"><span class=\"s1\">Begin using UI testing to ensure pages behave as expected<\/span><\/li>\n<li class=\"p1\"><span class=\"s1\">Discuss benefits of code review<\/span><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<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. Understand the &hellip; <a href=\"https:\/\/winnipeg.wordcamp.org\/2016\/session\/coding-best-practices\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Coding Best Practices<\/span><\/a><\/p>\n","protected":false},"author":5603640,"featured_media":0,"template":"","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_wcpt_session_time":1477130400,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[255],"footnotes":""},"session_track":[975112],"session_category":[],"class_list":["post-264","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-make-with-wordpress"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7d0mD-4g","session_date_time":{"date":"October 22, 2016","time":"10:00 am"},"session_speakers":[{"id":"255","slug":"shawn-hooper","name":"Shawn Hooper","link":"https:\/\/winnipeg.wordcamp.org\/2016\/speaker\/shawn-hooper\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/winnipeg.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/264","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/winnipeg.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/winnipeg.wordcamp.org\/2016\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":1,"href":"https:\/\/winnipeg.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/264\/revisions"}],"predecessor-version":[{"id":265,"href":"https:\/\/winnipeg.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/264\/revisions\/265"}],"speakers":[{"embeddable":true,"href":"https:\/\/winnipeg.wordcamp.org\/2016\/wp-json\/wp\/v2\/speakers\/255"}],"author":[{"embeddable":true,"href":"https:\/\/winnipeg.wordcamp.org\/2016\/wp-json\/wporg\/v1\/users\/shooper"}],"wp:attachment":[{"href":"https:\/\/winnipeg.wordcamp.org\/2016\/wp-json\/wp\/v2\/media?parent=264"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/winnipeg.wordcamp.org\/2016\/wp-json\/wp\/v2\/session_track?post=264"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/winnipeg.wordcamp.org\/2016\/wp-json\/wp\/v2\/session_category?post=264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}