SOLID Principles in Real Code: Examples and Anti-Patterns
Apply SOLID to actual code instead of toy examples. Includes the cases where each principle stops helping.
Articles about software development, coding practices, and engineering.
Apply SOLID to actual code instead of toy examples. Includes the cases where each principle stops helping.
Move past framework magic and understand DI as a design tool. Constructor vs setter vs interface injection compared.
Design retries that recover without amplifying outages. Includes idempotency requirements and budget patterns.
Atomically write to a database and a message queue. Covers polling vs CDC outbox implementations.
Translate between legacy and new domain models without leaking concepts. A key tool for incremental migrations.
Decouple business logic from infrastructure with ports and adapters. Includes concrete folder layouts and dependency rules.
Use Command Query Responsibility Segregation to scale read-heavy workloads. Covers when to apply, eventual consistency tradeoffs, and read model design.
Saying "we have technical debt" never wins a prioritization argument. Here's how to measure it in terms that get buy-in from both engineering leadership and product.
Rate limiting protects your API from abuse and keeps it available under load. Here's a thorough comparison of the main algorithms and how to implement them correctly in a distributed system.
Schema changes are the most dangerous part of any deployment. The expand-contract pattern lets you refactor your database without taking down your application.
DDD sounds great in theory but gets fuzzy fast in practice. Here's a concrete guide to bounded contexts, aggregates, and the tactical patterns that actually matter.
Create self-service platforms for developers. Build service catalogs, documentation hubs, and automation interfaces.
Let's discuss how we can help you build reliable software.
We use cookies to analyze site usage and improve your experience. By continuing to use this site, you agree to our use of cookies. Learn more about our privacy policy