On Tue, May 26, 2026 at 12:33:05PM +0000, Susanne Wunsch susanne.wunsch@xxxxxxxxxxxxx scripsit:
> Hi all,
> b) spread the logic across several templates, dispatched via match and mode
> (so each "level" of the hierarchy has its own mode and its own dedicated
> templates)?
This one.
Templates are appropriately analogous to functions, where we want it to
do one thing. This approach also has the advantage of keeping the
transform overall somewhat more comprehensible.
-- Graydon
--
Graydon Saunders | graydonish@xxxxxxxxxxxx
\xDE\xE6s ofer\xE9ode, \xF0isses sw\xE1 m\xE6g.
-- Deor ("That passed, so may this.")
|