Re: Methods within many instantiated classes?
From: Andreas Håkansson ("Andreas)
Date: 03/27/04
- Next message: C# Learner: "Re: Methods within many instantiated classes?"
- Previous message: C# Learner: "Re: Methods within many instantiated classes?"
- In reply to: Charlie: "RE: Methods within many instantiated classes?"
- Next in thread: Joe: "Re: Methods within many instantiated classes?"
- Reply: Joe: "Re: Methods within many instantiated classes?"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 27 Mar 2004 01:19:39 +0100
Charlie,
I think method two would be suiteable if you had a polymorphic
situation,
where you would write a support class to manipulate the classes, perhas with
static methods. Other than that I would not recommend it either.
//Andreas
"Charlie" <anonymous@discussions.microsoft.com> skrev i meddelandet
news:72C2EA4A-2E3B-4BD6-94AD-CBF640FD2989@microsoft.com...
> This isn't a direct answer to your question, but method #2 goes against
the concept of object-oriented design. I think using this approach would
lead to applications that are difficult to understand and maintain.
>
> method #1 is far superior in terms of overall design, in my opinion.
- Next message: C# Learner: "Re: Methods within many instantiated classes?"
- Previous message: C# Learner: "Re: Methods within many instantiated classes?"
- In reply to: Charlie: "RE: Methods within many instantiated classes?"
- Next in thread: Joe: "Re: Methods within many instantiated classes?"
- Reply: Joe: "Re: Methods within many instantiated classes?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|