Zum Hauptinhalt springen

Final 12-Week Roadmap

This roadmap begins after reading all 30 chapters.

Week 1 — Consolidate semantics

Review:

  • names and bindings;
  • identity and equality;
  • mutability;
  • scopes;
  • truthiness;
  • sentinels.

Deliverables:

  • 20 runtime prediction exercises;
  • one English explanation;
  • one refactoring of a TypeScript mental-model mistake.

Week 2 — Functions and iteration

Review:

  • functions as objects;
  • parameters;
  • decorators;
  • iterators;
  • generators;
  • comprehensions.

Deliverable:

  • lazy CSV processing pipeline;
  • benchmark list versus generator behavior;
  • complete test suite.

Week 3 — Object model

Review:

  • classes;
  • data model;
  • inheritance;
  • dataclasses;
  • descriptors;
  • metaclasses.

Deliverable:

  • small domain library with immutable value objects;
  • one descriptor experiment;
  • one MRO demonstration.

Week 4 — Typing

Review:

  • modern annotations;
  • generics;
  • variance;
  • protocols;
  • typed dictionaries.

Deliverable:

  • fully typed command-handler package;
  • strict type-checker configuration;
  • one English design review.

Week 5 — Failures and resources

Review:

  • exceptions;
  • chaining;
  • context managers;
  • cleanup;
  • exit stacks.

Deliverable:

  • transaction manager;
  • structured exception hierarchy;
  • failure-path tests.

Week 6 — Memory and concurrency

Review:

  • reachability;
  • weak references;
  • profiling;
  • threads;
  • processes;
  • asyncio;
  • task groups.

Deliverable:

  • bounded async worker;
  • memory-retention experiment;
  • concurrency decision document.

Week 7 — Performance and imports

Review:

  • benchmarking;
  • profiling;
  • import machinery;
  • circular imports;
  • plugin discovery.

Deliverable:

  • profile one real application path;
  • reduce one measured bottleneck;
  • design explicit plugin loading.

Week 8 — Packaging

Review:

  • src layout;
  • pyproject.toml;
  • dependencies;
  • wheel;
  • clean install.

Deliverable:

  • package one project;
  • build wheel and sdist;
  • install into a clean environment;
  • write release instructions.

Week 9 — Testing

Review:

  • fixtures;
  • parametrization;
  • monkeypatch;
  • mocks;
  • fakes;
  • contracts;
  • integration tests.

Deliverable:

  • layered test suite;
  • fake and real repository contract;
  • wheel smoke test.

Week 10 — Architecture

Review Chapter 29.

Deliverable:

  • architecture diagram;
  • package layout;
  • ports;
  • adapters;
  • unit of work;
  • outbox ADR.

Week 11 — Capstone implementation

Implement:

  • domain;
  • application;
  • fake adapters;
  • HTTP boundary;
  • tests.

Deliverable:

  • working local service.

Week 12 — Production and migration

Implement:

  • real database adapter;
  • migrations;
  • outbox worker;
  • observability;
  • deployment;
  • migration plan.

Deliverable:

  • deployed capstone;
  • 15-minute English presentation;
  • final design document.