James Schmidt

Software engineering and architecture from the trenches

View My GitHub Profile

Directory Structure For Programming

on programming

Recently I’ve been building a Linux desktop computer from cast off parts. Ubuntu is my preferred distribution. I’m exploring what it is like to develop Java in Linux. One thing I noticed was that the user home directory was very similar to what you find on macOS. That got me thinking about what should my home directory be for developing. This is what I came up with to use for both Linux and macOS.

~/Developer/
  IdeaProjects/
  src/
    bitbucket.org/
      <username>/
        <project-name>/
    github.com/
      <username>/
        <project-name>/
  workspaces/
    sts/
    neon/

When you create the ~/Developer directory in macOS it gives it a special folder icon in Finder.

Screenshot