When a kitchen trick makes something both better-tasting and easier to cook, you have to wonder which came first. (Or don't wonder, and just send your fork a-twirl in a mess of pesto-speckled noodles, which is what you came to do.)

On first glance, this recipe could have been any other pesto pasta recipe on the internet (there are — oh — 3.1 million of them), but, for a few reasons, this one caught my eye. For one thing, I implicitly trust what now has to be my favorite Food52 Hotline thread of all time, in which readers shared the best thing they'd cooked all year. I also admire the recipe's maker, Nancy Harmon Jenkins — the olive oil expert and cookbook author who we have to thank for popularizing the very notion of the Mediterranean diet.

And then I noticed that, unlike in some versions of this classic pesto pasta from Liguria, the recipe Jenkins published in The New York Times in 1997 calls for adding all your vegetables to cook with the pasta in a well-timed swim. In go the potato slices first, then the green beans, and then the pasta. After bubbling together, they're hauled out to mingle with pesto and then, in short order, your mouth.

When I asked Jenkins about this technique, she told me that home cooks in Italy layer vegetables straight into the pasta pot often, famously with tenerumi (the young leaves of a squash that grows in Sicily), and almost always with broccoli rabe. Not only is this method much faster and more mentally streamlined than the rigor of fishing out each vegetable the moment it's cooked just right, but the pasta absorbs some of the flavor in the vegetables, too. "It's one of those Italian techniques that gets missed out," Jenkins told me, "like making a sauce and finishing cooking the pasta in [it]," so that the noodles and seasoning become one.

"You're not going to do it with something like eggplant," Jenkins then said. "Because I think boiled eggplant is one of the worst foods in the world. But any kind of green!"

(Courtesy Food52)

Knowing that Jenkins has very high standards, I was curious about the potential inexactness of the method. What if the only green beans you could find were quite fat and squeaky (or matchstick-thin)? The potatoes starchier, the pasta a thick linguine instead of the traditional trenette?

"For the potatoes, it doesn't matter, as long as they're done — it's okay if they break up a little. The green beans," she admitted, "you don't want to be soggy." But even that depends on personal taste.

Then she told me a story about Benedetto Cavalieri, founder of the eponymous pasta brand. As Jenkins related, when told that the wagon wheel pasta his company invented in the 1930s cooked unevenly, Cavalieri responded, "But of course that's the whole point of it — so you end up with different textures on the plate." Some perfectly al dente, some even more stiff to the bite, some downright soft.

This stuck with me. I've cast the same judgment on poor wagon wheels before — no more. There is a similar beauty to the green beans being softer and sweeter one week, firmer the next; the potatoes jumbling to bits in the sauce sometimes, or staying resilient coins another. In essence, Jenkins was telling me, "Relax."

Pesto pasta with green beans and potatoes from Nancy Harmon Jenkins

(Rocky Luten/Courtesy Food52)

This story was originally published on Food52.com: The Italian pasta trick no one talks about