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

The Inquisition, Take Three

The door opens. The reader doesn’t even flinch.

“Nobody—” begins Cardinal Naggum.

“Yes, yes,” says Cardinal Klabnik. “We know. Nobody expects us. Can we get on with it?”

Cardinal Friedman clears his throat. “The agenda is string interpolation.”

A brief argument ensues. Cardinal Naggum insists on concatenation: (+ "Hello, " name "!"). Cardinal Klabnik points out that template literals exist. Cardinal Friedman writes (template "Hello, " name "!") on the whiteboard. The compiler produces `Hello, ${name}!`.

Everyone stares at it. It’s fine. It’s exactly what you’d write by hand.

“That’s it?” says Cardinal Naggum.

“That’s it.”

The shortest Inquisition yet.