Hiding Files and Folders in OS X FinderDistributed Systems with Node.js, O'Reilly 2020, has been published!
OS X, being a unix based OS, will hide files and folders whose name begin with a period. However, the Finder utility (and dialogs which use the OS features like save dialogs) also support meta information for hiding files (similar to Windows). This is useful if you want to hide a folder but you don't want to have the name change. OS X 10.7 recently started doing this with the Library folder in your home directory.
To enable this feature, you'll need to open up Terminal
Applications | Utilities | Terminal and type the following command:
Then, you can drag and drop a file onto the terminal window (which will put the files path after the command). Then press enter and the file will disappear. If you want to make a file visible, you can do the same process but using a different command, although it may be harder to find out where the folders are hidden.
Easy, huh? I use it to hide useless folders left around by applications originating from the Microsoft world which love to clutter the users Documents directory. E.g. Microsoft Office and a bunch of Steam games.
Also, you can press Cmd + Shift + G in Finder to open a directory you know of which is hidden. This is useful if you wanted to, say, hide files on your computer from other people which use the same account.