CSE Roadmap

Level 5 of 7 · about 2 weeks

Robust code: errors, state and threads

Exceptions and validation, immutable values, locks and thread-safe classes, queues and thread pools, designing for tests, and changing code safely.

Modules

Core: everyone needs it. Common: most jobs use it. Specialist: optional depth, safe to skip on a first read.

  1. 1

    Errors, validation and exceptions

    Fail early, fail clearly, and leave objects in a good state

    Core 6 parts · about 3 hours

  2. 2

    Immutability and value objects

    Objects that never change are easy to trust, share and test

    Core 6 parts · about 3 hours

  3. 3

    Threads, locks and thread-safe classes

    What goes wrong when two threads share data, and the small set of tools that fix it

    Core 6 parts · about 4 hours

  4. 4

    Producer-consumer and thread pools

    Hand work through a queue, and let a pool of threads do it

    Core 6 parts · about 3 hours

  5. 5

    Designing for tests

    Shape the code so that a test can control time, storage and messages

    Core 6 parts · about 3 hours

  6. 6

    Extensibility and refactoring

    Plan for the change request, and improve code in small safe steps

    Core 6 parts · about 3 hours