Source Code Generation: How I Learned to Stop Worrying and Love the Boilerplate

Presented by Daniel Phillips
Monday 11:40 a.m.–12:05 p.m. in Guthrie Theatre CB06.03.28
Target audience: Developer


Automatic source code generation might seem like a hack to most developers, but it doesn't have to be this way. When used effectively as part of a software project's development and build processes, code generation can encourage good practices, reduce bugs, and save valuable developer time by eliminating the need to write boilerplate code by hand. This talk will look at a few use cases for automatic source code generation, and discuss the high-level design principles involved in using, or even rolling your own source code generator.

Presented by

Daniel Phillips

Daniel is a software engineer at, and a computer science student at the University of New South Wales. Aside from writing plenty of Scala, with a side of Python, Daniel gets involved with the Australian Informatics Olympiad programme, and teaches high school and university students about computer science. His interests include algorithms, information security, and sitting at a piano pressing different keys until it sounds OK.