You expose callable public methods that call the underlaying private
methods. The reason for this is API consistency, more specifically you
allow the API of the implementation to be changed and still provide a
consistent public API


On Fri, Mar 15, 2013 at 1:33 PM, daniel-uzunu <notifications@github.com>wrote:

> In lib/logging/appender.js:
>
> > @@ -67,4 +67,9 @@ Appender.prototype._write = function (message, event) {};
> >   */
> >  Appender.prototype.destroy = function () {};
> >
> > +/**
> > + * Abstract method that needs to be implemented when an appender needs to rename the file.
> > + */
> > +Appender.prototype.rotate = function () {};
>
> @arcade <https://github.com/arcade>: I need to contradict you here. What
> do you do if a class has only abstract methods?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/rainjs/rainjs/pull/58/files#r3389748>
> .
>



-- 

Best regards,
Alex