Re: [Pharo-users] Name of coding pattern

2020-05-26 Thread Richard O'Keefe
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

[Pharo-users] Name of coding pattern

2020-05-26 Thread Kasper Osterbye
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