The Inquisition Returns
The door bursts open. Three figures in red robes sweep in — Cardinals Naggum, Klabnik, and Friedman, back from their triumphant installation in Chapter 1, now considerably more agitated.
“NOBODY,” announces Cardinal Naggum, “expects the nested conditional!”
He takes a breath.
“Our chief control flow form is if. if and else. if, else, and while. And for.” He frowns. “And for-of. if, else, while, for, for-of, and switch— I’ll come in again.”
The door closes. The door reopens.
“Amongst our control flow forms are such diverse elements as if, while, for, for-of, switch, try, catch, finally, break, continue, throw, and a nice labelled statement.”
Cardinal Friedman clears his throat. “There is also match, Your Eminence.”
Cardinal Naggum goes very still.
“What’s match?”
“It replaces… well, most of what you just listed.”
A long silence. Cardinal Klabnik counts on his fingers. Runs out of fingers. Starts over.
“NOBODY,” says Cardinal Naggum, with the weary conviction of someone who has just been told his entire enumeration was unnecessary, “expects pattern matching.”