On Wed, Sep 25, 2024 at 6:09 PM Claude Warren <cla...@xenei.com> wrote:
>
> I have to agree that Serializer is an overloaded term and should be
> avoided, and I knew when I named it that the name would have to change.
> But I don't like "Render" because it is a verb and the noun for something
> that renders would be a renderer.  And to my ears (and fingers) that seems
> clunky.
>
> How about "Producer" for the interface, and TextProducer, XmlProducer,
> MarkdownProcucer, as the concrete class names?

Hi Claude,

Better :-)
Java has the general-use Supplier, so... assuming a producer creates
something, could this be an actual Supplier, like a TextSupplier that
implements a get()?
Or, does the class draw/render/print _onto_ something in which case it
could be a Java Consumer<Writer>.

Some of this depends on details I've not looked at in your branch
yet... (working on something else ATM ;-)

HTH,
Gary

>
> --
> LinkedIn: http://www.linkedin.com/in/claudewarren

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to