In my library it would be
strm
tag: 'h1';
do: aBlockWhichWritesTheTitle;
end.
because one so very often needs to add attributes and/or a namespace.
#tag:do: is related to the C++ "Resource Allocation is Initialisation"
pattern, where the point is to automatically clean up. In
Hi.
I was looking at the zink stream, and noticed this pattern with
strm tag: 'h1' do: aBlockWhichWriteTheTitle
It is also used in baselines, and I have used it myself a few times.
Is anyone aware of this having a name?
Best,
Kasper