On Wed, Jan 20, 1999 at 04:36:54PM +0100, Jean-Marc Lasgouttes wrote:
> >>>>> "Lars" == Lars Gullik Bj�nnes <[EMAIL PROTECTED]> writes:
>
> Lars> Gains: - simplified code in insets - we ensure that all insets
> Lars> can be output with all different writers - when adding new
> Lars> insets, the compiler will barf unless you inplement the new
> Lars> writer method in all derived classes.
>
> The risk is that people will implement empty methods just to compile
> and forget about it later... However, I agree that it will help
> maintenance.
Sure, but if they don't write something, then the first person who tries to
use that method will find out, won't they. And it will be extremely easy to
pinpoint where the missing code is.
> Lars> Well I don't know anymore, but it seemed like nice idea when I
> Lars> was taking a shower.
>
> You should take showers more often ;)
>
I should too. I tend to get my best programming ideas there.
Jean-Marc has apparently decided that in e-mails to me, it's always
friday...
-Amir