Posts tagged “design”

  1. SOLID: which principles still pay off?

    Single responsibility and dependency inversion pay off in almost every codebase. Open/closed, Liskov and interface segregation matter mostly at boundaries where implementations vary. What each principle protects against, and when it turns into over-engineering.

    · 6 min read · How we build

  2. Is "Clean Code" still good advice?

    The goals are right: code that's easy to read and safe to change. Some of the famous rules (tiny functions, no comments, DRY at all costs) hurt when followed literally. Which parts I keep, which I bend, and how to settle the arguments in code review.

    · 6 min read · How we build

  3. Object-oriented or functional: which style for which code?

    Use objects where something has identity and state that must stay consistent, and pure functions over plain data for transformations, calculations and pipelines. Most good codebases mix the two. How to decide, with Go and TypeScript examples.

    · 6 min read · How we build

  4. When is domain-driven design worth it?

    DDD pays off when the business rules are the hard part and several teams or departments use the same words to mean different things. For CRUD apps it's mostly ceremony. Which parts to take (language, bounded contexts) even on small projects, and which to skip.

    · 6 min read · How we build