Glen Mazza wrote:
1.) Remove the serveVisitor()


2.) (This I'm less sure on) After reverting, I'd like to remove the "render" functions within the InlineArea objects in favor of direct function calls within AbstractRenderer:

-1 Remember one of the three basic OO principles: use virtual methods instead of switch according to a class marker.

and remove the bounce-back between Renderers and Area objects, further simplifying the coding.

But this is what keeps the renderers pluggable. If these methods are removed, every renderer must follow the same design.


Reply via email to