Code templates for programming