Boosting Code Reusability: A Guide to Python FunctionsAlthough most if not all developers while learning how to code have come across the concept of functions, we haven’t taken the extra time to understand them outside the context that they are reusable blocks of code. In this article, I intend to go a ...Oct 3, 2023 · 4 min readpsycode.com
Python’s Assert Statement: A Not-So Comprehensive GuideWhat are Assertions? Assertions are statements used to prove that a certain condition is true or has stayed true. If the condition proves to be false then the program will generally raise an AssertionError. When to use Assertions As powerful as asser...Sep 3, 2023 · 3 min readpsycode.com
Python’s Assert Statement: A Not-So Comprehensive Guidetitle: Python’s Assert Statement: A Not-So Comprehensive Guide published: true date: 2023-09-03 02:05:34 UTC tags: canonical_url: https://psycode.hashnode.dev/pythons-assert-statement-a-not-so-comprehensive-guide What are Assertions? Assertions are ...Sep 3, 2023 · 3 min readmad-max-inside.hashnode.dev
Python's Prototype Design Pattern: Crafting Objects for PerformanceIn a previous article, we discussed the singleton design pattern and saw how it could be applied in practice. In this article, we’ll be discussing the prototype design pattern, when to use it and how to use it. The prototype design pattern lets you a...Aug 9, 2023 · 4 min readpsycode.com
Python's Prototype Design Pattern: Crafting Objects for Performancetitle: Python's Prototype Design Pattern: Crafting Objects for Performance published: true date: 2023-08-09 21:44:12 UTC tags: canonical_url: https://psycode.hashnode.dev/pythons-prototype-design-pattern-crafting-objects-for-performance In a previou...Aug 9, 2023 · 4 min readmad-max-inside.hashnode.dev