Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

A Clean API

The Cardinals file out. Cardinal Naggum is still muttering about concatenation, but even he concedes that (template ...) is acceptable. It does what it says. It compiles to what you’d write. It doesn’t require new syntax in the reader or new runtime in the output.

“Nobody expects a clean API,” observes Cardinal Friedman, straightening his robes.

Cardinal Klabnik nods. “And yet, here we are.”

The string is interpolated. The chapter ends. The next one has objects.