How to share files over a network in OS X

Sharing files between computers used to be something of a dark art, and this has perhaps permeated the collective consciousness of Mac users.