<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Bas Terwijn</title>
    <description>The latest articles on DEV Community by Bas Terwijn (@bterwijn).</description>
    <link>https://dev.to/bterwijn</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3150043%2Fa4f94b94-d265-49d6-9651-bb62bccc996d.jpg</url>
      <title>DEV Community: Bas Terwijn</title>
      <link>https://dev.to/bterwijn</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bterwijn"/>
    <language>en</language>
    <item>
      <title>Insertion Sort visualized with memory_graph</title>
      <dc:creator>Bas Terwijn</dc:creator>
      <pubDate>Tue, 11 Nov 2025 10:10:06 +0000</pubDate>
      <link>https://dev.to/bterwijn/insertion-sort-visualized-with-memorygraph-18nf</link>
      <guid>https://dev.to/bterwijn/insertion-sort-visualized-with-memorygraph-18nf</guid>
      <description>&lt;p&gt;Algorithms can at first seem complex to students, but with memory_graph every step is clearly visualized, giving students an intuitive understanding of what their code is doing and making bugs much easier to fix. Here's an example &lt;a href="https://memory-graph.com/#codeurl=https://raw.githubusercontent.com/bterwijn/memory_graph/refs/heads/main/src/insertion_sort.py&amp;amp;breakpoints=13,29&amp;amp;continues=1&amp;amp;timestep=0.2&amp;amp;play" rel="noopener noreferrer"&gt;Insertion Sort algorithm&lt;/a&gt;:&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz9095byjojcenrrwqifs.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz9095byjojcenrrwqifs.gif" alt=" " width="600" height="325"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>memorygraph</category>
      <category>algorithms</category>
    </item>
    <item>
      <title>Python Data Model exercise</title>
      <dc:creator>Bas Terwijn</dc:creator>
      <pubDate>Sat, 08 Nov 2025 20:13:19 +0000</pubDate>
      <link>https://dev.to/bterwijn/python-data-model-exercise-5e2e</link>
      <guid>https://dev.to/bterwijn/python-data-model-exercise-5e2e</guid>
      <description>&lt;p&gt;A fun exercise to help build the right mental model for Python data. The “Solution” link uses memory_graph to visualize execution and reveal what’s actually happening, good luck.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpj4wli7awmykyoubwdmd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpj4wli7awmykyoubwdmd.png" alt="Python Data Model exercise" width="644" height="650"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://memory-graph.com/#codeurl=https://raw.githubusercontent.com/bterwijn/memory_graph_videos/refs/heads/main/exercises/exercise9.py&amp;amp;play" rel="noopener noreferrer"&gt;Solution&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/bterwijn/memory_graph?tab=readme-ov-file#python-data-model" rel="noopener noreferrer"&gt;Explanation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>python</category>
      <category>memorygraph</category>
      <category>mutability</category>
    </item>
    <item>
      <title>Writing a binary tree data structure is easier when you can see the structure of your data</title>
      <dc:creator>Bas Terwijn</dc:creator>
      <pubDate>Mon, 19 May 2025 14:40:56 +0000</pubDate>
      <link>https://dev.to/bterwijn/writing-a-binary-tree-data-structure-is-easier-when-you-can-see-the-structure-of-your-data-h4e</link>
      <guid>https://dev.to/bterwijn/writing-a-binary-tree-data-structure-is-easier-when-you-can-see-the-structure-of-your-data-h4e</guid>
      <description>&lt;p&gt;Visualized in Visual Studio Code using Python package &lt;a href="https://pypi.org/project/memory-graph/" rel="noopener noreferrer"&gt;memory_graph&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fptbd2ed8bp2lr66ubyvq.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fptbd2ed8bp2lr66ubyvq.gif" alt="Debugger run on Binary Tree in Python" width="120" height="83"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>vscode</category>
      <category>programming</category>
      <category>datastructures</category>
    </item>
    <item>
      <title>Recursion in Python</title>
      <dc:creator>Bas Terwijn</dc:creator>
      <pubDate>Tue, 13 May 2025 20:49:20 +0000</pubDate>
      <link>https://dev.to/bterwijn/recursion-in-python-4hka</link>
      <guid>https://dev.to/bterwijn/recursion-in-python-4hka</guid>
      <description>&lt;p&gt;Recursion gets easier when you can see that each function call has its own variables on the call stack.&lt;/p&gt;

&lt;p&gt;🧠 Understand the Python Data Model better using &lt;a href="https://pypi.org/project/memory-graph/" rel="noopener noreferrer"&gt;memory_graph&lt;/a&gt;&lt;br&gt;
🎥 Watch the explainer on &lt;a href="https://youtu.be/pvIJgHCaXhU" rel="noopener noreferrer"&gt;Python Mutability&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgwc5sl9lxv17760mhiuw.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgwc5sl9lxv17760mhiuw.gif" alt="factorial" width="657" height="688"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>recursion</category>
      <category>python</category>
    </item>
    <item>
      <title>Python Mutability</title>
      <dc:creator>Bas Terwijn</dc:creator>
      <pubDate>Tue, 13 May 2025 09:58:44 +0000</pubDate>
      <link>https://dev.to/bterwijn/python-mutability-41bd</link>
      <guid>https://dev.to/bterwijn/python-mutability-41bd</guid>
      <description>&lt;ul&gt;
&lt;li&gt;Changing a value of immutable type results in an automatic copy&lt;/li&gt;
&lt;li&gt;Changing a value of mutable type causes it to mutate in place&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🧠 Understand the Python Data Model better using &lt;a href="https://pypi.org/project/memory-graph/" rel="noopener noreferrer"&gt;memory_graph&lt;/a&gt;&lt;br&gt;
🎥 Watch the explainer on &lt;a href="https://youtu.be/pvIJgHCaXhU" rel="noopener noreferrer"&gt;Python Mutability&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi5i1fw67uecy7pt327j9.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi5i1fw67uecy7pt327j9.gif" alt="Python Mutability" width="647" height="897"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>data</category>
    </item>
    <item>
      <title>Graph Python data while debugging</title>
      <dc:creator>Bas Terwijn</dc:creator>
      <pubDate>Tue, 13 May 2025 00:01:56 +0000</pubDate>
      <link>https://dev.to/bterwijn/graph-python-data-while-debugging-497p</link>
      <guid>https://dev.to/bterwijn/graph-python-data-while-debugging-497p</guid>
      <description>&lt;p&gt;Using &lt;a href="https://pypi.org/project/memory-graph/" rel="noopener noreferrer"&gt;memory_graph&lt;/a&gt; in the Visual Studio Code deugger.&lt;/p&gt;

&lt;p&gt;🎥 Watch the explainer on &lt;a href="https://lnkd.in/eiAAZfHb" rel="noopener noreferrer"&gt;Python Mutability&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fztwxvttuixpt8m8yz4n5.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fztwxvttuixpt8m8yz4n5.gif" alt="memory_graph in vscode debugger" width="800" height="595"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>debugging</category>
      <category>python</category>
    </item>
    <item>
      <title>Python data visualizer: memory_graph</title>
      <dc:creator>Bas Terwijn</dc:creator>
      <pubDate>Sun, 11 May 2025 12:33:40 +0000</pubDate>
      <link>https://dev.to/bterwijn/python-data-visualizer-memorygraph-2kml</link>
      <guid>https://dev.to/bterwijn/python-data-visualizer-memorygraph-2kml</guid>
      <description>&lt;p&gt;🧠 Debug Python code smarter, not harder.&lt;br&gt;
Use &lt;a href="https://lnkd.in/eYdMNzZh" rel="noopener noreferrer"&gt;memory_graph&lt;/a&gt; to visualize your Python data and improve your Mental Data Model — so you can fix bugs faster and understand mutability at a glance.&lt;/p&gt;

&lt;p&gt;🎥 Watch the explainer on &lt;a href="https://lnkd.in/eiAAZfHb" rel="noopener noreferrer"&gt;Python Mutability&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh5emjdgfs7db6fyttbkz.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh5emjdgfs7db6fyttbkz.gif" alt="Image description" width="720" height="820"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
    </item>
  </channel>
</rss>
