Coding over Configuration

Java: Craftsmanship
Location: A105
Average rating: ***..
(3.75, 4 ratings)

Customizing the behavior of a complex framework or server has traditionally been done by editing configuration files. This practice developed during a period when the source code was only available to a privileged few, and the software was written to read, parse, and interpret these configuration files. However, when the source code is available to be modified by all (as in Open Source software), it is more practical, less verbose, and easier to modify the code to “do the right thing” than to edit arcane configuration files. This is similar to the approach taken by Emacs, where the “configuration file” is an Emacs Lisp file.

This presentation steps through an implementation of a Jetty servlet engine, contrasting the use of configuration files with an embedded code approach — for development, deployment and maintenance.

Photo of r0ml Lefkowitz

r0ml Lefkowitz


Robert (r0ml) Lefkowitz is a frequent speaker on the intersection of software and literacy. Previously, he was a CTO at a fintech startup and held senior technology positions in the telecommunications and financial industries. He’s a distinguished engineer of the ACM.