{"id":935,"date":"2023-01-31T05:38:20","date_gmt":"2023-01-31T02:38:20","guid":{"rendered":"https:\/\/entebbe.wordcamp.org\/2023\/?post_type=wcb_session&#038;p=935"},"modified":"2023-02-23T09:47:27","modified_gmt":"2023-02-23T06:47:27","slug":"solid-and-programming-principles","status":"publish","type":"wcb_session","link":"https:\/\/entebbe.wordcamp.org\/2023\/session\/solid-and-programming-principles\/","title":{"rendered":"Solid and Programming Principles"},"content":{"rendered":"\n<p>&#8220;Solid&#8221; and &#8220;Programming Principles&#8221; are terms that refer to guidelines for writing high-quality, maintainable software.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>SOLID: SOLID is an acronym that stands for five principles of object-oriented programming and design. They are:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Single Responsibility Principle: A class should have only one reason to change<\/li>\n\n\n\n<li>Open\/Closed Principle: Software entities should be open for extension, but closed for modification.<\/li>\n\n\n\n<li>Liskov Substitution Principle: Subtypes must be substitutable for their base types.<\/li>\n\n\n\n<li>Interface Segregation Principle: Clients should not be forced to depend on interfaces they do not use.<\/li>\n\n\n\n<li>Dependency Inversion Principle: High-level modules should not depend on low-level modules. Both should depend on abstractions.<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>Programming Principles: Programming principles are a set of guidelines and best practices that help to ensure that software is maintainable, readable, and efficient. Examples include:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Don&#8217;t Repeat Yourself (DRY)<\/li>\n\n\n\n<li>Keep it Simple, Stupid (KISS)<\/li>\n\n\n\n<li>YAGNI (You Ain\u2019t Gonna Need It)<\/li>\n\n\n\n<li>Boy Scout Rule<\/li>\n\n\n\n<li>Separation of Concerns (SoC)<\/li>\n<\/ul>\n\n\n\n<p>Adhering to these principles leads to better code quality, reduced technical debt, and easier collaboration among teams.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;Solid&#8221; and &#8220;Programming Principles&#8221; are terms that refer to guidelines for writing high-quality, maintainable software. Adhering to these principles leads to better code quality, reduced technical debt, and easier collaboration among teams.<\/p>\n","protected":false},"author":18050971,"featured_media":936,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1678523100,"_wcpt_session_duration":900,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[818],"footnotes":""},"session_track":[1079872],"session_category":[],"class_list":["post-935","wcb_session","type-wcb_session","status-publish","has-post-thumbnail","hentry","wcb_track-wordpress-avengers"],"jetpack_sharing_enabled":true,"session_date_time":{"date":"March 11, 2023","time":"11:25 am"},"session_speakers":[{"id":"818","slug":"faith-ruth-imokol","name":"Faith Ruth Imokol","link":"https:\/\/entebbe.wordcamp.org\/2023\/speaker\/faith-ruth-imokol\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/entebbe.wordcamp.org\/2023\/wp-json\/wp\/v2\/sessions\/935","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/entebbe.wordcamp.org\/2023\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/entebbe.wordcamp.org\/2023\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":1,"href":"https:\/\/entebbe.wordcamp.org\/2023\/wp-json\/wp\/v2\/sessions\/935\/revisions"}],"predecessor-version":[{"id":937,"href":"https:\/\/entebbe.wordcamp.org\/2023\/wp-json\/wp\/v2\/sessions\/935\/revisions\/937"}],"speakers":[{"embeddable":true,"href":"https:\/\/entebbe.wordcamp.org\/2023\/wp-json\/wp\/v2\/speakers\/818"}],"author":[{"embeddable":true,"href":"https:\/\/entebbe.wordcamp.org\/2023\/wp-json\/wporg\/v1\/users\/faithimokol"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/entebbe.wordcamp.org\/2023\/wp-json\/wp\/v2\/media\/936"}],"wp:attachment":[{"href":"https:\/\/entebbe.wordcamp.org\/2023\/wp-json\/wp\/v2\/media?parent=935"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/entebbe.wordcamp.org\/2023\/wp-json\/wp\/v2\/session_track?post=935"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/entebbe.wordcamp.org\/2023\/wp-json\/wp\/v2\/session_category?post=935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}