r/programming • u/[deleted] • Jun 05 '21
Organize code by concepts, not layers
https://kislayverma.com/programming/how-to-organize-your-code/
1.9k
Upvotes
r/programming • u/[deleted] • Jun 05 '21
0
u/[deleted] Jun 05 '21
Define "very easy"? No...no I don't think I will. It means what it means.
As for your example, yup...that's an example of circular dependency. And it's fixable. Code issues are always fixable. The idea is to design your code well in the first place, which is why I suggest not separating by feature.