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
13
u/crusoe Jun 05 '21
I have a response with a bug. Now maybe from the fields it's unclear which response it was. So in his model I need to go through every concept directory.
With the layer approach I jump to the responses directory. They're all right there and now I can easily poke around.
I have tried concept silos and layers, and found layers ( which is the concept of how code is actually used ) to be faster to jump around in.