Re: Functions or templates? My rules of thumb

 eg:makeEmptyCells(5 - count($cells))

will “feel right” and will be most convenient when the new nodes produced by the function are part of the processing pipeline — that is, when composability is expected and desired.

Cheers,

Dimitre Novatchev

Reply

The content of this field is kept private and will not be shown publicly.