DEV Community

Discussion on: Where do you keep your code?

Collapse
 
seanxe profile image
Sean Crossey

That's really interesting!

So if you had a client side app written in JS, and an API (that complements the client side app) written in python, they would be in completely different locations?

Does that not get frustrating having them "so far apart", so to speak?

Collapse
 
pbouillon profile image
Pierre Bouillon

In this case, I group it into the main language folder. For example, if I have a huge project in language X but also using some Y, then I include it into the structure:
~/Workspace/X/<project_type>/<project_name> with sub folders matching my structure (/third_parties, /tools, etc.)

But indeed, when I will work on projects containing several languages, it would be a mess and I would change this.