{"id":879,"date":"2025-01-17T21:03:50","date_gmt":"2025-01-17T21:03:50","guid":{"rendered":"https:\/\/mitcommlab.mit.edu\/cee\/?page_id=879"},"modified":"2025-01-28T19:59:27","modified_gmt":"2025-01-28T19:59:27","slug":"coding-2","status":"publish","type":"page","link":"https:\/\/mitcommlab.mit.edu\/cee\/commkit-resources\/coding-2\/","title":{"rendered":"Coding"},"content":{"rendered":"<h2>Coding<\/h2>\n<p>In this set of CommKit articles, we recommend principles and best practices for coders from the perspective of effective communication. Keeping in mind the needs of your audience \u2013 that is, either your future self or anyone else who might want to reuse your code \u2013 will help you to create concise, readable, and reusable code and documentation, as well as easy-to-navigate file structures. Whether you are a data scientist or a developer, our recommendations and examples can help you develop a more efficient, audience-friendly coding practice.<\/p>\n<ul>\n<li><a href=\"https:\/\/mitcommlab.mit.edu\/cee\/commkit\/coding-mindset\/\">Coding Mindset<\/a><\/li>\n<li><a href=\"https:\/\/mitcommlab.mit.edu\/cee\/commkit\/coding-and-comment-style\/\">Coding and Comment Style<\/a><\/li>\n<li><a href=\"https:\/\/mitcommlab.mit.edu\/cee\/commkit\/file-structure\/\">File Structure<\/a><\/li>\n<\/ul>\n<h2>Check out other CommKit resources<a href=\"https:\/\/mitcommlab.mit.edu\/cee\/applications\/\"><br \/>\n<\/a><a href=\"https:\/\/mitcommlab.mit.edu\/cee\/applications\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-883 size-thumbnail\" style=\"padding: 0 0 1em 0\" src=\"http:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Applications-1-150x150.png\" alt=\"Applications: resources for applying to graduate school, postdoc fellowship, faculty positions, and improving your CV &amp; Resume.\" width=\"150\" height=\"150\" srcset=\"https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Applications-1-150x150.png 150w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Applications-1-250x250.png 250w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Applications-1-700x700.png 700w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Applications-1-768x768.png 768w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Applications-1-120x120.png 120w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Applications-1.png 891w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a> <a href=\"https:\/\/mitcommlab.mit.edu\/cee\/figures\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-897 size-thumbnail\" style=\"padding: 0 0 1em 0\" src=\"http:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2025\/01\/Figures-2-150x150.png\" alt=\"Figures: resources for design, animation, and modification.\" width=\"150\" height=\"150\" srcset=\"https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2025\/01\/Figures-2-150x150.png 150w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2025\/01\/Figures-2-250x250.png 250w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2025\/01\/Figures-2-700x700.png 700w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2025\/01\/Figures-2-768x768.png 768w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2025\/01\/Figures-2-120x120.png 120w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2025\/01\/Figures-2.png 891w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a><a href=\"https:\/\/mitcommlab.mit.edu\/cee\/manuscripts\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-887 size-thumbnail\" style=\"padding: 0 0 1em 0\" src=\"http:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Manuscripts-1-150x150.png\" alt=\"Manuscripts: resources for writing a journal article and thesis.\" width=\"150\" height=\"150\" srcset=\"https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Manuscripts-1-150x150.png 150w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Manuscripts-1-250x250.png 250w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Manuscripts-1-700x700.png 700w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Manuscripts-1-768x768.png 768w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Manuscripts-1-120x120.png 120w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Manuscripts-1.png 891w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a><a href=\"https:\/\/mitcommlab.mit.edu\/cee\/advocacy\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-882 size-thumbnail\" style=\"padding: 0 0 1em 0\" src=\"http:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Advocacy-1-150x150.png\" alt=\"Advocacy: resources for writing a policy pitch, op-ed, and memo.\" width=\"150\" height=\"150\" srcset=\"https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Advocacy-1-150x150.png 150w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Advocacy-1-250x250.png 250w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Advocacy-1-700x700.png 700w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Advocacy-1-768x768.png 768w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Advocacy-1-120x120.png 120w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Advocacy-1.png 891w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a><a href=\"https:\/\/mitcommlab.mit.edu\/cee\/presentations\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-888 size-thumbnail\" style=\"padding: 0 0 1em 0\" src=\"http:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Presentations-1-150x150.png\" alt=\"Presentations: resources for telling a scientific story, designing slides, and posters.\" width=\"150\" height=\"150\" srcset=\"https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Presentations-1-150x150.png 150w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Presentations-1-250x250.png 250w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Presentations-1-700x700.png 700w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Presentations-1-768x768.png 768w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Presentations-1-120x120.png 120w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/Presentations-1.png 891w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a><a href=\"https:\/\/mitcommlab.mit.edu\/cee\/general-exam\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-886 size-thumbnail\" style=\"padding: 0 0 1em 0\" src=\"http:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/General-Exam-1-150x150.png\" alt=\"Resources to help MIT PhD students prepare for the CEE General Exam at MIT.\" width=\"150\" height=\"150\" srcset=\"https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/General-Exam-1-150x150.png 150w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/General-Exam-1-250x250.png 250w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/General-Exam-1-700x700.png 700w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/General-Exam-1-768x768.png 768w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/General-Exam-1-120x120.png 120w, https:\/\/mitcommlab.mit.edu\/cee\/wp-content\/uploads\/sites\/9\/2024\/12\/General-Exam-1.png 891w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a><\/h2>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"Coding In this set of CommKit articles, we recommend principles and best practices for coders from the perspective of effective communication. Keeping in mind the needs of your audience \u2013 that is, either your future self or anyone else who might want to reuse your code \u2013 will help you to create concise, readable, and&#8230; <a class=\"view-article\" href=\"https:\/\/mitcommlab.mit.edu\/cee\/commkit-resources\/coding-2\/\">View Article<\/a>","protected":false},"author":30,"featured_media":0,"parent":864,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-879","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/mitcommlab.mit.edu\/cee\/wp-json\/wp\/v2\/pages\/879","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mitcommlab.mit.edu\/cee\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mitcommlab.mit.edu\/cee\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mitcommlab.mit.edu\/cee\/wp-json\/wp\/v2\/users\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/mitcommlab.mit.edu\/cee\/wp-json\/wp\/v2\/comments?post=879"}],"version-history":[{"count":0,"href":"https:\/\/mitcommlab.mit.edu\/cee\/wp-json\/wp\/v2\/pages\/879\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/mitcommlab.mit.edu\/cee\/wp-json\/wp\/v2\/pages\/864"}],"wp:attachment":[{"href":"https:\/\/mitcommlab.mit.edu\/cee\/wp-json\/wp\/v2\/media?parent=879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}