<?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: Monami Jerome</title>
    <description>The latest articles on DEV Community by Monami Jerome (@monamijerome).</description>
    <link>https://dev.to/monamijerome</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4276119%2F9b200a49-5755-4a43-a085-94a111705f91.png</url>
      <title>DEV Community: Monami Jerome</title>
      <link>https://dev.to/monamijerome</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/monamijerome"/>
    <language>en</language>
    <item>
      <title>I wrote a free C course around a tiny database (and what I learned about teaching C)</title>
      <dc:creator>Monami Jerome</dc:creator>
      <pubDate>Tue, 01 Dec 2026 10:11:16 +0000</pubDate>
      <link>https://dev.to/monamijerome/i-wrote-a-free-c-course-around-a-tiny-database-and-what-i-learned-about-teaching-c-56ne</link>
      <guid>https://dev.to/monamijerome/i-wrote-a-free-c-course-around-a-tiny-database-and-what-i-learned-about-teaching-c-56ne</guid>
      <description>&lt;p&gt;Most C tutorials teach you the syntax and leave you with a pile of small exercises. I wanted the opposite: one project that grows with every chapter, so each new idea solves a problem you just hit.&lt;/p&gt;

&lt;p&gt;The project is MiniBase, a small key-value database. The course follows the structure of K&amp;amp;R (types, control flow, functions, pointers, structures, input/output, the Unix interface, debugging), but every chapter ends with a new step of MiniBase: a prompt that listens, a record with exact sizes, a command table, a hash table, saving to a file, then saving without losing data.&lt;/p&gt;

&lt;p&gt;Three things surprised me while writing it.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Run every example. Several of my first snippets had bugs or warnings that only showed up under gcc -Wall -Wextra and AddressSanitizer. A tutorial with code that was never compiled teaches mistakes. Now each program in the course was compiled and run, and the outputs shown are real.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The scary parts need tools, not courage. Pointers feel dangerous because C does not stop you. The fix is not "be careful", it is a routine: warnings, sanitizers, valgrind, gdb, assert, and a Makefile with a test target. The last chapter is about exactly that.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Real code explains the rules. Why gets was removed from the language, how a free-list allocator works, how the Linux kernel stores a list inside the objects, why you write a temporary file and rename it. Each rule sticks better when you see what breaks without it.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;How it works: the course is a folder of Markdown files in an open-source repo. It runs in your browser with no account and no server, and your progress stays on your device. Each chapter has quizzes, and the next chapter opens when you pass the quiz (70%). Short exercises, spaced review and a "weak spots" page show what you keep missing.&lt;/p&gt;

&lt;p&gt;Honest limits: it is frontend only, so the quiz gate is a nudge, not anti-cheat. The French version was written with an AI assistant and needs a native read. I have mostly tested in Chromium.&lt;/p&gt;

&lt;p&gt;If you know C, I would love for you to find what is wrong or unclear. A fix is a pull request on one Markdown file, and contributors are listed in the repo.&lt;/p&gt;

&lt;p&gt;Course: &lt;a href="https://monamijer.github.io/optimal/" rel="noopener noreferrer"&gt;https://monamijer.github.io/optimal/&lt;/a&gt;&lt;br&gt;
Repo: &lt;a href="https://github.com/monamijer/optimal" rel="noopener noreferrer"&gt;https://github.com/monamijer/optimal&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Where does a beginner get stuck first, in your experience: pointers, memory, or the toolchain?&lt;/p&gt;

</description>
      <category>c</category>
      <category>opensource</category>
      <category>learning</category>
      <category>github</category>
    </item>
  </channel>
</rss>
