BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: Patterns

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OO design
View previous topic :: View next topic  
Author Message
Jim Cooper
Guest





PostPosted: Tue Dec 21, 2004 3:30 pm    Post subject: Re: Patterns Reply with quote




Quote:
Explaining things via patterns make things even more
abstract

But that's the whole point :-)

Quote:
and the high abstraction level is IMHO one of the major problems
with OO.

Eh? What do you mean?

Quote:
E.g. the "Visitor" pattern should normally not lead to classes named
xxxVisitorxxx.

Errr, why not? It does for me (for at least the base Visitor class) :-)

Cheers,
Jim Cooper

_______________________________________________

Jim Cooper [email]jim (AT) falafelsoft (DOT) com[/email]
Falafel Software http://www.falafelsoft.com
_______________________________________________

Back to top
Charles McAllister
Guest





PostPosted: Tue Dec 21, 2004 10:04 pm    Post subject: Re: Patterns Reply with quote



Bjørge Sæther wrote:
Quote:
E.g. the "Visitor" pattern should normally not lead to classes named
xxxVisitorxxx. It's an abstract term to give you ideas, not a design
methodology.

All IMHO, of course Wink

i usually include the name of the pattern with the name of the class. i think it helps others who
read my code identify relationships between classes faster.

for example, if something is a singleton, i name it TFooSingleton
anyone could see then that it isn't necessary to free TFooSingleton w/ out having to look at the
implementation. my 2 cents.
Charles

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OO design All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.