DEV Community

Cover image for What do you call your folder where you keep your code?
Nočnica Mellifera for Heroku

Posted on

What do you call your folder where you keep your code?

On each new PC I make a folder named after some version of the afterlife: 'xibalba,' 'elysium,' 'outerdark.' And that's where I keep all my code. I assume everyone does this? And I'm curious where you keep your code on your own PC.

Latest comments (55)

Collapse
 
decoderqueen profile image
decoderqueen

my old PC had a dumb chain that was kind of like ~/repo/dontlook/saiddontlook/yourebel, now it's boring and just ~/repo/inprogress and such

Collapse
 
ashkanmohammadi profile image
Amohammadi2

I use this pattern ~/src/{project_name}/...

I can quickly jump into my terminal and type "$ code ~/src/proj + tab" and start coding.

Collapse
 
sukhejavarun profile image
Varun Sukheja

Mine is just /dev

Collapse
 
alaindet profile image
Alain D'Ettorre
.
|---dev
    |---projects
        |---my-cool-website
        |---a-fun-side-project
        |---my-company-stuff
    |---learn
        |---react
        |---angular
        |---whatever-youre-learning
Enter fullscreen mode Exit fullscreen mode
Collapse
 
jakesweb profile image
Jacob Colborn

I keep all my projects in ~/code/, breaking down each project into its own directory. I don't have my first customer yet, but when I do I'll have a directory in the code directory called customers and store that data in each customers own directory.

I save creative names for my hostnames. Each host in my network is named after a Norse god.

Collapse
 
samelawrence profile image
Sam E. Lawrence

~/src/

Collapse
 
phortx profile image
Ben Klein

workspaces

Then I have a workspace for the projects of my job (i22), one for hobby projects (personal), one for experiments (lab) and one when cloning foreign open source projects (external).

Collapse
 
henryjw profile image
Henry Williams • Edited

Mine is ~/projects. Gotta keep it simple.

Collapse
 
christianguevara profile image
Christian Guevara • Edited

I call it Developer, so I get a nice icon :) Developer folder

The internal structure is:

~/Developer/%company%/%project%/

If the project is not part of a company or just for fun, it goes directly to ~/Developer root.

Collapse
 
stevcooo profile image
Stevan Kostoski

Mine is just C:\Source, on every PC I'm using.

Collapse
 
cescquintero profile image
Francisco Quintero 🇨🇴

I've always gone with ~/projects/

Collapse
 
kartikpuri95 profile image
kartik puri

Mine is
~/workspace/tutorials/{tutorial name}
~/workspace/project/{python or javascript or vuejs}
~/workspace/freelance/{client-name}
~/workspace/tutorials/graphics/{asset name}

Collapse
 
wolf00 profile image
Rahul lad

Mine is ~/codes for work projects and ~/exp for personal experiments

Collapse
 
munch141 profile image
Ricardo Münch

_projects/ ✨

Collapse
 
memahesh profile image
Medam Mahesh

I do not do anything fancy.
I separated them into two directories Freelance, Git. I name the folders inside them self-explanatory.