Loose type checking in E

Tyler Close tyler@lfw.org
Sat, 24 Oct 1998 10:10:12 -0400


At 01:09 AM 10/24/98 -0700, you wrote:
>Do you have to sit there and mindlessly write dozens of delegating
>stubs just to add a method or two?  The inheritance mechanism in E
>is effectively nothing but a macro to write those stubs for you.

Maybe I should also point out that an object with "dozens" of methods is an
exceptionally poor idea. By forcing the programmer to write out the stubs,
maybe we could hope that s/he won't be so mindless and will realize that
the design sucks.

This example illustrates the well-known danger in using macros.

Tyler