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 (56)

Collapse
 
narsing_itkampalli_234574 profile image
narsing itkampalli

In my case I use ~/Development/ folder. I also pinned to Quick access. Changed icon of the folder to make it more personal.

Development/
├── learning/
│   ├── DSA/
│   ├── web/
│   │   ├── css/
│   │   ├── html/
│   │   ├── http/
│   │   ├── javascript/
│   │   ├── mysql/
│   │   ├── node-js/
│   │   ├── react-js/
│   │   │   ├── learn-hooks/
│   │   │   ├── react-router/
│   │   │   └── todo-app/
│   │   └── websocket/
│   └── web-apps/ (Usually used to build big projects but for learning purposes)
│
├── projects/ (These are usually my personal projects)
│
└── client/ (For client work, I create a separate folder)
    └── client-name/
        ├── project-name/
        └── project-name/
Enter fullscreen mode Exit fullscreen mode
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.