Follow

When structuring your programming project. Which directory structure do you go with?

I would also love to hear reasons why or why not to do it in a certain why.

@andrioid Makefile, README, LICENSE, docs/, tests/, src/, .git/ for larger ones. smaller ones tend to end up with sources in the top dir and one doc file.

@andrioid Generally I start with a "src" directory and go from there, and I keep my documentation somewhere else. I'm not aware of any other patterns I have, and I don't have a justification.

@andrioid I try to separate both pure functions, adapters, and ports, but also group code based on business value it delivers. the two goals don't entirely play nicely with each other...

Sign in to participate in the conversation
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!