@ComponentScan(basePackages = {"dev.danvega.post", "dev.danvega.codestructure"})
Cohesion represents the relationship within a module. Coupling represents the relationships between modules.
Good (loose coupling, high cohesion) Bad (high coupling, low cohesion)
Encapsulation
In software systems, encapsulation refers to the bundling of data with the mechanisms or methods that operate on the data. It may also refer to the limiting of direct access to some of that data, such as an object's components.
I have seen that some prefer to break down their project by feature but then add a layer in each feature package. I think this is going to be a little bit of extra work and still have the side affects of package by layer.
—
$ claude mcp add code-structure \
-- python -m otcore.mcp_server <graph>