<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Kondwani Kamundi on Medium]]></title>
        <description><![CDATA[Stories by Kondwani Kamundi on Medium]]></description>
        <link>https://medium.com/@kondwanikamundi?source=rss-1349538a644e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*6uoeIJupRNQF-x7BSIpBsw@2x.jpeg</url>
            <title>Stories by Kondwani Kamundi on Medium</title>
            <link>https://medium.com/@kondwanikamundi?source=rss-1349538a644e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 22:14:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kondwanikamundi/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Understanding Python’s Mutable Object Behavior: A Context Manager Case Study]]></title>
            <link>https://medium.com/@kondwanikamundi/understanding-pythons-mutable-object-behavior-a-context-manager-case-study-7f613440aef0?source=rss-1349538a644e------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f613440aef0</guid>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Kondwani Kamundi]]></dc:creator>
            <pubDate>Tue, 15 Apr 2025 14:31:13 GMT</pubDate>
            <atom:updated>2025-04-15T14:31:13.070Z</atom:updated>
            <content:encoded><![CDATA[<p>Just finished an interesting Python challenge on Pybites Platform that reinforced a crucial concept: how Python handles mutable objects.</p><p>The exercise required implementing a “rollback” context manager that could revert transactions if the account balance went negative. The key insight came from this line:</p><pre>self.initial_transactions = list(self._transactions)</pre><p>Why the explicit list() call? Because Python doesn’t automatically create copies of mutable objects during assignment.</p><p>If I had written:</p><pre>self.initial_transactions = self._transactions</pre><p>Both variables would point to the same list object in memory. Any modifications to one would affect the other, making it impossible to roll back to the original state!</p><p>This highlights an essential Python concept: assignment creates references, not copies. For mutable objects like lists, dictionaries, and most custom classes, you need explicit copying to create independent instances.</p><p>Other ways to copy mutable objects include:</p><ul><li>The copy module (copy.copy() and copy.deepcopy())</li><li>Object-specific methods like dict.copy()</li><li>List/dict/set comprehensions</li></ul><p>What Python gotchas have you encountered in your coding journey?</p><p>#Python #Programming #SoftwareDevelopment #DataStructures #CodingChallenges</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f613440aef0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[THE INSPIRATION BEHIND TITUS]]></title>
            <link>https://medium.com/@kondwanikamundi/the-inspiration-behind-titus-4f8e6edc3e15?source=rss-1349538a644e------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f8e6edc3e15</guid>
            <category><![CDATA[change]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[community]]></category>
            <category><![CDATA[titusmw]]></category>
            <dc:creator><![CDATA[Kondwani Kamundi]]></dc:creator>
            <pubDate>Fri, 06 Apr 2018 23:59:57 GMT</pubDate>
            <atom:updated>2018-04-08T02:40:11.487Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h9NbSnnyGihcruvQmbFxJw.jpeg" /><figcaption>Titus logo: <a href="http://www.titusmw.com/">www.titusmw.com</a></figcaption></figure><p>Hello, My name is Kondwani Kamundi and i am the founder of Titus Malawi. Titus is an organization that helps Malawian students to achieve more and break barriers in their various endeavors and enterprises.</p><p>This is the story behind the idea.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JAhs79yxFoxSWbBQ." /><figcaption>Photo by <a href="https://unsplash.com/@thoughtcatalog?utm_source=medium&amp;utm_medium=referral">Thought Catalog</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>PART ONE: MY LIFE PHILOSOPHY</h3><p><strong>LEARNING, SHARING AND COLLABORATION</strong></p><p>My story begins with three little words: learning, sharing and collaboration. These words might seem simple but the power that lies in them is unimaginable. Through the application of these 3 little words, people have done really amazing things that have redefined the way we work and play today.</p><p>In my part of the story, i will use Bill Gates to prove the authenticity of my implications</p><blockquote>One thing i love about Life is that its never too late to learn something new. Learning is one of the building blocks of life and its through the process of learning that we have adapted and grown to the extent that we do some really cool amazing stuff. Consider how far technology has come, its a wonder that can sometimes be taken for granted. For example, think about how the windows PC has redefined the way we do things.. But all this started with one boy who <strong>learned</strong> how to code while he was young. All this has happened through the process of learning and it is through this process that the windows pc is still evolving.. With more updates and features every here and now. That is the power of <strong>learning</strong></blockquote><blockquote>In relation to the first point, what if Bill Gates never decided to share his knowledge about computers <strong>which was acquired though learning</strong> with the world ? No body knows how that would have affected the technological world today. I believe that every person that doesn’t share their dreams or talents with the world deprives humanity with something that would have helped it and in a way deprives himself of the benefits he/she would have realized from sharing such knowledge. And this is why Bill Gates is so rich and why also my school is much easier now compared to my ancestors time, where having a computer was a prestige</blockquote><blockquote>However, this doesn’t stop here, What if he also decided to work as an individual to develop the PC? Chances are, his impact to the world would have been minimal because as humans, we are limited and we need each other if we are to do something meaningful. In short, When humans work together as a team, amazing things happen and as my favourite quote says, <strong><em>its better to have a half watermelon than a whole grape</em></strong></blockquote><p>In short, its only through the process of learning , sharing and collaboration that we as humans can truly do amazing things and this is one of my lifes philosophy that inspired me to create Titus.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JsdJOALnuIppJzMx." /><figcaption>“A group of graduates at sunset throwing up their caps in Malacca” by <a href="https://unsplash.com/@baim?utm_source=medium&amp;utm_medium=referral">Baim Hanif</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>PART TWO: THE WONDER OF COLLEGE</h3><p>College is fun for me. I remember arriving at my school and seeing all this diversity of people. My eyes couldn’t stop popping and everyone who knows me can attest that i love to talk. I talked to so many people and almost 90 percent of them had that fiery spark in their eyes. I could see that these are the people that actually change the world. In short, i have had the chance to meet some really great people in my college life and this is not only at my current school, but across all institutions of Higher learning.</p><p>However with time, i started to ask my self questions like:</p><blockquote>1.Where does this raw potential and talent go?</blockquote><blockquote>2.How come i do not see it once the people graduate?</blockquote><blockquote>Do people outside the walls of college know how great students are here?</blockquote><blockquote>Do the students really know how amazing other students are? Do they learn from each other?</blockquote><blockquote>Do they collaborate with each other?</blockquote><blockquote>Do they share their ideas with the world?</blockquote><p><em>And </em>the answers where NO and NO and NO.</p><p>And this Lead to the birth of <strong>Titus.</strong></p><p>Here at Titus we believe in the potential and raw talent that is in our Malawian students. These guys are full of knowledge, ideas and solutions and that can really change the way we work and do things and as Titus, we seek to provide a community where they will be able to share, learn, collaborate and find opportunities that will help them to achieve more and break barriers and therefore make an impact, one that truly changes the world.</p><p>So what is Titus?</p><p>Titus is many things. It is a center for innovation, a center for change, a place for opportunities etc</p><p>but it can be summarized into 4 words <strong>STUDENTS,</strong> <strong>LEARNING,SHARING </strong>and<strong> COLLABORATION</strong></p><h3>TITUS- HELPING STUDENTS ACHIEVE MORE</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f8e6edc3e15" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>