-2

I'm new to SOLID principle and design, I understand the principle however, I have a hard time knowing where to start the design process. I understand that design is an iterative process, what step or question you ask yourself during the design process so your design conforms to SOLID.

Claude
  • 371
  • 1
  • 4
  • 16

1 Answers1

0

Try test-driven development. In an object-oriented context, you'll typically have to explicitly consider both the Open Closed Principle, the Dependency Inversion Principle, and the Liskov Substitution Principle in order to make your system under test testable and deterministic.

There are other ways to make APIs testable. If, for example, you're using functional programming, pure functions are intrinsically testable. In that case, you don't need to explicitly think about SOLID.

Mark Seemann
  • 225,310
  • 48
  • 427
  • 736