Example code generation