开发者

organizing source code in filesystem on mac osx

Any recommendations on a good way to organize source code on mac osx? I'm usually doing ruby or ruby on rails development and I have a lot of past projects in classic asp and asp.net MVC C#. I also have a lot of git repos I download from github.

I want some general guidlines but I do have a few specific questions.

Should I put my source code files under my user.开发者_如何学C So like this

/Users/Brand/MySourceFiles/...

Or should I put it under the root? I prefer the root but dunno if that's a bad idea.

/MySourceFiles/...

Should I keep my website project separate from my non-website projects?

For website projects I have a lot of photoshop files, where should those go?

Any reason I should keep my .net and rails projects in different folders? Like one for asp.net and one for rails?


"Under your user", i.e., in your home directory. Many folks like to have a src directory in their home directory which they use for source code. I don't think you'll find any consensus on how to organize that src folder -- most of the time it's just flat, with many subdirectories in it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜