3 - Control Flow & State - Expanded Project Guides

Generated from: SPRINT_3_CONTROL_FLOW_STATE_PROJECTS.md

This folder contains deep-dive guides for each project in the learning path.

Overview

These projects teach the discipline of state management and control flow. You will model explicit states, enforce transitions, handle errors, and build systems that stay consistent under stress. Each project is a state machine in disguise.

Project Index

# Project Difficulty Time Key Focus
1 Modal Text Editor (Mini-Vim) Advanced 2-3 weeks Modes, invariants, terminal I/O
2 HTTP/1.1 Protocol Parser Advanced 1-2 weeks Streaming parsing, framing
3 Database Connection Pool Advanced 2-3 weeks Resource lifecycle, concurrency
4 Undo/Redo Engine for a Drawing App Advanced 1-2 weeks Temporal state, persistence
5 Embedded Sensor State Machine Advanced 2-3 weeks Timing, ISR discipline
6 Git-like Version Control System Advanced 4-6 weeks Durable state, atomicity

Learning Paths

  • State machine fundamentals: Projects 1, 2, 5
  • Resource lifecycle mastery: Projects 3, 6
  • Temporal correctness: Project 4, 6
  • Real-time constraints: Project 5

Prerequisites

  • Solid C fundamentals
  • Comfort with the command line
  • Basic data structures and debugging tools