Re: Addin SetUp question
Andreas Schlapsi <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nunit.devel |
|---|---|
| Message-ID | <1204675088.5715.10.camel@olorun> |
Am Dienstag, dem 04.03.2008, 14:00 -0700 schrieb Kelly Anderson: > On Mon, Mar 3, 2008 at 6:45 PM, Charlie Poole > <[email protected]> wrote: > > Let me think about that. I'm actually leaning toward aggregation > > rather than inheritance here. > > I heard a pretty smart programmer once say that inheritance is a > rather large club, and should be reserved for when it's really > necessary. I prefer generalization where possible, so this all sounds > like a move in the generally right direction to me. I agree that it's often better to favor composition over inheritance. I didn't know that Charlie plans to change the test class hierarchy for NUnit 2.5. Andreas ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/