{"id":1333,"date":"2022-07-29T05:50:52","date_gmt":"2022-07-29T12:50:52","guid":{"rendered":"https:\/\/asuen.com\/stemfriday\/?p=1333"},"modified":"2022-07-28T18:00:42","modified_gmt":"2022-07-29T01:00:42","slug":"the-art-of-clean-code","status":"publish","type":"post","link":"https:\/\/asuen.com\/stemfriday\/the-art-of-clean-code\/","title":{"rendered":"The Art of Clean Code"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/asuen.com\/wp-content\/uploads\/2022\/07\/artofcleancode.jpg?resize=525%2C694&#038;ssl=1\" alt=\"\" width=\"525\" height=\"694\" class=\"aligncenter size-full wp-image-18121\" \/><\/p>\n<p><em>The Art of Clean Code: Best Practices to Eliminate Complexity and Simplify Your Life<\/em><br \/>\nby Christian Mayer (Author)<br \/>\n<em>@ <a href=\"https:\/\/amzn.to\/3S2ArNY\">Amazon<\/a> | <a href=\"https:\/\/bookshop.org\/a\/6037\/9781718502185\">Bookshop<\/a> | <a href=\"https:\/\/www.indiebound.org\/book\/9781718502185?aff=anasuen09\">IndieBound<\/a><\/em><\/p>\n<p><strong>Booktalk:<\/strong> Learn eight principles to simplify your code and become a more effective (and successful) programmer with real-world examples:<\/p>\n<ul>\n<li>Concentrate on the important stuff with the 80\/20 principle &#8212; focus on the 20% of your code that matters most<\/li>\n<li>Avoid coding in isolation: create a minimum viable product to get early feedback<\/li>\n<li>Write code cleanly and simply to eliminate clutter<\/li>\n<li>Avoid premature optimization that risks over-complicating code<\/li>\n<li>Balance your goals, capacity, and feedback to achieve the productive state of Flow<\/li>\n<li>Apply the Do One Thing Well philosophy to vastly improve functionality<\/li>\n<li>Design efficient user interfaces with the Less is More principle<\/li>\n<li>Tie your new skills together into one unifying principle: Focus<\/li>\n<\/ul>\n<p><strong>Snippet:<\/strong> Large companies like International Business Machines Corporation (IBM), Microsoft, and Apple employ the Pareto principle to build faster, more user-friendly computers by channeling their focus on the vital few; that is, by repeatedly optimizing the 20 percent of the code that was executed most often by the average user. Not all code is created equal. A minority of code has a dominating impact on the user experience, while much of the code has little impact. You might double-click the File Explorer icon multiple times per day, but you seldom change the access rights of a file. The 80\/20 principle tells you where to focus your optimization efforts!<\/p>\n<p style=\"text-align: center;\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-889\" src=\"https:\/\/i0.wp.com\/asuen.com\/wp-content\/uploads\/2015\/09\/stemfriday.tiny_.jpg?resize=216%2C104\" alt=\"\" width=\"216\" height=\"104\" \/><\/p>\n<p style=\"text-align: center;\">It&#8217;s <a href=\"http:\/\/asuen.com\/stemfriday\/\">STEM Friday!<\/a> (<strong>STEM<\/strong> is <strong>S<\/strong>cience, <strong>T<\/strong>echnology, <strong>E<\/strong>ngineering, and <strong>M<\/strong>athematics)<\/p>\n<p style=\"text-align: center;\">Copyright \u00a9 2022 <a href=\"https:\/\/asuen.com\" target=\"_blank\" rel=\"noopener noreferrer\">Anastasia Suen<\/a> All Rights Reserved.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Art of Clean Code: Best Practices to Eliminate Complexity and Simplify Your Life by Christian Mayer (Author) @ Amazon | Bookshop | IndieBound Booktalk: Learn eight principles to simplify your code and become a more effective (and successful) programmer with real-world examples: Concentrate on the important stuff with the 80\/20 principle &#8212; focus on &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/asuen.com\/stemfriday\/the-art-of-clean-code\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;The Art of Clean Code&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[2],"tags":[],"class_list":["post-1333","post","type-post","status-publish","format-standard","hentry","category-stem-friday-round-up"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pamhGQ-lv","jetpack-related-posts":[{"id":1777,"url":"https:\/\/asuen.com\/stemfriday\/blossom-origami\/","url_meta":{"origin":1333,"position":0},"title":"Blossom Origami","author":"Anastasia Suen","date":"March 28, 2025","format":false,"excerpt":"Blossom Origami by Clover Robin (Illustrator) @ Amazon | Bookshop Booktalk: With 13 nature-inspired origami step-by-step patterns, this activity book has origami inspiration, original art, and extracts from well-loved nature poems, as well as 50 sheets of origami paper. The three difficulty levels are clearly marked and the QR code\u2026","rel":"","context":"In &quot;STEM Friday Round-up&quot;","block_context":{"text":"STEM Friday Round-up","link":"https:\/\/asuen.com\/stemfriday\/category\/stem-friday-round-up\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/asuen.com\/wp-content\/uploads\/2025\/03\/blossomorigamifc-960x960.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/asuen.com\/wp-content\/uploads\/2025\/03\/blossomorigamifc-960x960.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/asuen.com\/wp-content\/uploads\/2025\/03\/blossomorigamifc-960x960.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":572,"url":"https:\/\/asuen.com\/stemfriday\/coding\/","url_meta":{"origin":1333,"position":1},"title":"Coding","author":"Anastasia Suen","date":"October 11, 2019","format":false,"excerpt":"My new Focus on STEM column: Coding is in the October Quick Tips for Schools and Libraries newsletter. Booktalk: Catch up on computer science with this list featuring female coders, interactive guides, and other coding activities. Snippet: The first computer-to-computer message was sent on October 29, 1969, and the system\u2026","rel":"","context":"In &quot;STEM Friday Round-up&quot;","block_context":{"text":"STEM Friday Round-up","link":"https:\/\/asuen.com\/stemfriday\/category\/stem-friday-round-up\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/asuen.com\/wp-content\/uploads\/2019\/10\/QTOctober2019coding-595x298.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/asuen.com\/wp-content\/uploads\/2019\/10\/QTOctober2019coding-595x298.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/asuen.com\/wp-content\/uploads\/2019\/10\/QTOctober2019coding-595x298.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":1345,"url":"https:\/\/asuen.com\/stemfriday\/working-with-computers-and-robotics\/","url_meta":{"origin":1333,"position":2},"title":"Working with Computers and Robotics","author":"Anastasia Suen","date":"August 19, 2022","format":false,"excerpt":"Working with Computers and Robotics by Sonya Newland (Author) and Diego Vaisberg (Illustrator) Booktalk: Learn how hardware and software work, and discover how engineers are creating robots to help us out on Earth -- and in space. Writing in binary code and building a brushbot are just a couple of\u2026","rel":"","context":"In &quot;STEM Friday Round-up&quot;","block_context":{"text":"STEM Friday Round-up","link":"https:\/\/asuen.com\/stemfriday\/category\/stem-friday-round-up\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/asuen.com\/wp-content\/uploads\/2022\/08\/kid-engineer-working-with-computers-cover.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":394,"url":"https:\/\/asuen.com\/stemfriday\/thinkers-and-tinkers\/","url_meta":{"origin":1333,"position":3},"title":"Thinkers and Tinkers","author":"Anastasia Suen","date":"May 10, 2019","format":false,"excerpt":"My new Focus on STEM column: Thinkers and Tinkers is in the May Quick Tips for Schools and Libraries newsletter. Booktalk: Thinkers who like to tinker will enjoy these inspiring pairings of project books and biographies. Snippet: Some thinkers are also tinkerers. As they think, they play, working with their\u2026","rel":"","context":"In &quot;STEM Friday Round-up&quot;","block_context":{"text":"STEM Friday Round-up","link":"https:\/\/asuen.com\/stemfriday\/category\/stem-friday-round-up\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/asuen.com\/wp-content\/uploads\/2019\/05\/thinkertinker-595x298.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/asuen.com\/wp-content\/uploads\/2019\/05\/thinkertinker-595x298.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/asuen.com\/wp-content\/uploads\/2019\/05\/thinkertinker-595x298.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":1060,"url":"https:\/\/asuen.com\/stemfriday\/area-51-odysseys-in-mysteries\/","url_meta":{"origin":1333,"position":4},"title":"Area 51 (Odysseys in Mysteries)","author":"Anastasia Suen","date":"June 11, 2021","format":false,"excerpt":"Area 51 (Odysseys in Mysteries) by Ken Karst (Author) @ Amazon | Bookshop | IndieBound Booktalk: An in-depth study of Area 51, examining legends, popular reports, and scientific evidence that supports or refutes the mysterious phenomena reputed to occur there. Snippet: When Bob Lazar told a television reporter in 1989\u2026","rel":"","context":"In &quot;STEM Friday Round-up&quot;","block_context":{"text":"STEM Friday Round-up","link":"https:\/\/asuen.com\/stemfriday\/category\/stem-friday-round-up\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/asuen.com\/wp-content\/uploads\/2021\/06\/area51-595x837.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/asuen.com\/wp-content\/uploads\/2021\/06\/area51-595x837.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/asuen.com\/wp-content\/uploads\/2021\/06\/area51-595x837.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":965,"url":"https:\/\/asuen.com\/stemfriday\/high-tech-lego-projects-16-rule-breaking-inventions\/","url_meta":{"origin":1333,"position":5},"title":"High-Tech LEGO Projects: 16 Rule-Breaking Inventions","author":"Anastasia Suen","date":"February 5, 2021","format":false,"excerpt":"Amazon | Bookshop | IndieBound High-Tech LEGO Projects: 16 Rule-Breaking Inventions by Grady Koch (Author) Booktalk: A collection of 16 scientific and technical projects to build with parts from the LEGO MINDSTORMS EV3 robotics set and other components. You'll find a motion-activated animal cam, a Morse code transmitter, a laser\u2026","rel":"","context":"In &quot;STEM Friday Round-up&quot;","block_context":{"text":"STEM Friday Round-up","link":"https:\/\/asuen.com\/stemfriday\/category\/stem-friday-round-up\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/asuen.com\/wp-content\/uploads\/2021\/02\/hightechlego-595x744.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/asuen.com\/wp-content\/uploads\/2021\/02\/hightechlego-595x744.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/asuen.com\/wp-content\/uploads\/2021\/02\/hightechlego-595x744.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/asuen.com\/stemfriday\/wp-json\/wp\/v2\/posts\/1333","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/asuen.com\/stemfriday\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/asuen.com\/stemfriday\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/asuen.com\/stemfriday\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/asuen.com\/stemfriday\/wp-json\/wp\/v2\/comments?post=1333"}],"version-history":[{"count":1,"href":"https:\/\/asuen.com\/stemfriday\/wp-json\/wp\/v2\/posts\/1333\/revisions"}],"predecessor-version":[{"id":1334,"href":"https:\/\/asuen.com\/stemfriday\/wp-json\/wp\/v2\/posts\/1333\/revisions\/1334"}],"wp:attachment":[{"href":"https:\/\/asuen.com\/stemfriday\/wp-json\/wp\/v2\/media?parent=1333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/asuen.com\/stemfriday\/wp-json\/wp\/v2\/categories?post=1333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/asuen.com\/stemfriday\/wp-json\/wp\/v2\/tags?post=1333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}