Skip to content
Katabench
Try free

Quarantine the Legacy

Medium About 30 min Katabench Pro

The billing core calls a legacy ledger that speaks in public string fields and cent amounts, and parses its rows inline. Build an anti-corruption layer: one adapter owns the translation, and the core's allowlist catches any port that still leaks the legacy dialect.

The full brief is part of Katabench Pro

Pro opens this kata's brief, its starter code and its grader. To see how the track works first, try Config Is Infrastructure, which is free.

How it is graded

You work across multiple files, and architecture rules turn the design boundaries into executable feedback.

C# architecture exercises →

What it practices

Anti-corruption layer
Translate a legacy or external model at the boundary, and replace it incrementally behind that port.

Related katas