Will you be growing marigolds under your marrows this spring? What about garlic or onions among your greens, or basil with your beans? Companion planting it's called by some; for others, myth and magic would be more appropriate.
I am sort-of in the latter category, at least if this co-planting stuff is based only on rumour, passed down over generations of gardeners. For example, think of an onion bed. It does not actually have an oniony smell until harvest time, when all that lifting of these beautiful golden bulbs, and, in my case, trampling by my size 12 gummies, damages leaves and roots, only then releasing those characteristic, pungent organosulphur compounds. These chemicals (which are in garlic too) help fight colon cancers but whether they keep the white fly off your tomatoes is another matter entirely.
What definitely does work is the fact that many flowering plants do provide a lot of Snap for the garden's good guys. Shelter, Nectar, Alternative food and Pollen are the basis of this acronym and, when I ask about it in a student exam paper, everybody answers that question. Lots of marking for me as a result, but if it enhances learning, I'm happy. A "tidy" vege garden, with all trace of weeds removed, is a bit of an ecological desert, with low non-crop diversity and a not very "snappy" environment.
The good insects (and spiders), which help us reduce aphid numbers on the cabbages and keep caterpillars at manageable levels (meaning that you may, however, still have to pluck a few off your broccoli) all need pollen for protein. This helps the female ladybird make hundreds of eggs, which hatch into black and orange larvae, each of which can eat 30 greenfly a day. Hoverflies too, which mimic wasps but are harmless, hover over flowers and gorge on nectar for the energy they need for all that hovering. They too need pollen for protein. I suppose we could leave a few flowering weeds around the place; non-pest aphids live on them, providing the "A" of Snap, but that's a bit random too.
In my hallowed vege plot, I also practice MLM — Mulch Like Mad. Predatory beetles, centipedes and other good creepy-crawlies think it's their birthday in that shelter — from rain, frost, dehydration and an otherwise shortage of food — and emerge in the cool of the night to nobble the nasties on your broad beans.
Our work at Lincoln has shown that particular annual plants are the tops for Snap. Our proven favourites are buckwheat (B) — popular in vineyards because of Lincoln work, alyssum (A) — you may already have it flourishing in dry spots near fences in your garden — and phacelia (P)/tansy leaf — not the herb tansy. The blue beauty phacelia (in the borage family) is actually noisy with pollinators in spring and summer — as well as harbouring the very important biological control agents such as lacewings and parasitic wasps (harmless to us). So, it's Bap to provide Snap! The message therefore is: Be an attentive student, remember Snap and buy Bap seeds so the worn-out phrase "sustainable" can really mean something in your vege plot.