C
C
Clean Coder2020-12-05 23:32:10
Software design
Clean Coder, 2020-12-05 23:32:10

What is the correct way to divide classes into packages according to R. Martin's clean architecture?

Have you used a clean architecture? If so, how were the classes structured by packages?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2020-12-06
@HustleCoder

It is interesting that R. Martin himself writes in his book that there is no silver bullet and it is necessary to divide, starting from the task.
From my experience: at the beginning I separate classes into folders, and then I separate them into packages, if I need to somehow simplify reuse / extension

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question