A slightly less artisanal method is to use a router and a dovetail ... Want to join metal bits instead? Check out this cute little dovetail cube.