Think of a ecology type (a 'biome') as being defined by its limiting resource. Or by its most abundant resource.
At boundaries, the limits of one ecosystem can be overcome by dipping into the other one, and vice-versa.
For example, a desert is defined by lots of sun/open sky, but very little water. A forest has lots of
trees and biomass, and usually plenty of water, but very little sun except at the top. Grasslands have lots of sun and water, but limited protection from wind/weather; they can be extremely hot, cold, or lightning-and-tornado-prone, and tend to be picked over by grazers and predators. Tundra has lots of water, nutrients, sun, and sometimes shade, but is limited by the temperature and day length. The ocean surface has lots of water and minerals, but are missing some essential trace elements (like iron) and substrate. The rich depths are limited on sun availability.
At an edge, your 'limiting factor' can be escaped, or acquired, from the other biome next door.
At the edge between desert and riverbed, there is
enough water and shade from the river, but enough sun and minerals from the desert. Life congregates.
In the river delta, you have the sun and water aspects of the ocean, and the mineral and biological nutrients and substrate from land. Life explodes. Even in the swirling layers far away from the river, plankton concentrate in certain layers of water where temperatures, currents, and nutrient loads are floating in the right combination; often the boundaries between two types of water.
At the edge of grasslands, or even near clumps and hummucks in the middle, things can hide, forage and retreat, that would be too exposed in the open. Birds go out in the meadows and collect insects, come back and hide, go deeper in the forest and eat cherries, come back and poop...
I think the concept of 'maximize edges' is a sort of technical version of the idea of 'patchiness' breeding resiliency. A forest with patchy meadows in it, contains seed stock for both forest and meadow; if a section burns, it is much more likely to be replaced from its neighboring seed stock, and less likely to stand empty or be taken over by invasive weeds. All the stages of succession are happening all the time, so the
local life is accustomed to interacting in all these stages and is resilient to switches between them.
A patchy coastline of islands and straits and mainland contains habitat for a lot of different types of life; if the climate changes, or the sea level rises, or a landslide changes part of the coastline, there will be species ready to adapt to the new environment quickly. Plain sandy beaches have comparatively little life; not much protection. But headlands and tidepools are pretty rich. And places that alternate beaches and rocky areas can be incredibly rich.
A garden with rows or keyholes has lots of sunny spots, and some light shade; plants can mature at different times, or be planted to take advantage of optimum growing conditions. A garden with no rows is a cover crop, and each plant gets a blend of sun and shade and gets leggy to compete for light. Too much crowding, or too even a competition can weaken the plants.
Polar bears and Arctic tribes work the edge between land, sea, and pack ice. If that edge pulls apart too far, they need a lot more
energy to connect with the resources they need. Land and ice provide a resting place; sea provides hunting and transportation. Some prey hide under the ice, while others arrive with the warming water. Without the edge-type access to all of these resources at once, it's difficult to gain enough fat to survive an Arctic winter.
Edges are places where one thing is changing into another.
Life is a type of change.