Best place is the new elgg-docs repo because it only becomes really clear when you have code snippets.