Ask HN: How do you organize your code?
I have a new computer and want to start fresh so I am looking for inspiration.
On my old computer I stored everything under ~/code
This got unwieldy so I then had a few folders: ~/code/focus ~/code/bin ~/code/2023 etc
How do you organize your code?
Got any other organization tips e.g. on dotfiles?
6 comments
[ 6.4 ms ] story [ 28.3 ms ] threadAll project notes are in a Wiki I host on my main server. These notes include where the project files are being stored. In practice, the wiki is my primary gateway/index to the projects.
The one hiccup to this is with projects that aren't software-only. CAD files, PCB layout files, photos, etc. I don't put them in ~/dev because in my mind, that's for software. So I just put them straight into ~/Projects. It's not ideal to have project files split like that, but I haven't come up with a better solution yet.
Although I'm considering moving away from git to a different version control system, so this may change.