New answers tagged

1

This is the question as I understand it: Is there a superior way to classify files that contain code? Here are two example classifications. Not really. In my experience, both approaches are valid. The "better approach" depends on the codebase, the organization and possibly personal preference. Smaller/newer projects start off and benefit from the first ...


1

Actually this is matter of cohesion. From wikipedia: In computer programming, cohesion refers to the degree to which the elements of a module belong together. You can check this article about cohesion: https://en.wikipedia.org/wiki/Cohesion_%28computer_science%29 For me the modular approach, as you call it is representation of functional cohesion, ...



Top 50 recent answers are included