Re: OOP style
- From: "Bruce Roberts" <ber@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 25 Aug 2005 17:12:46 -0400
"Maarten Wiltink" <maarten@xxxxxxxxxxxxxxxxxx> wrote in message
news:430e2f75$1$11070$e4fe514c@xxxxxxxxxxxxxxxxx
> There are drawbacks, though. In some of the more interesting cases,
> they can't be used.
These are rare circumstances and should not discourage one from generally
using nested routines.
> Sometimes. It limits code reuse, though, so unless the oversized method
> very naturally falls to pieces, there is not all that much call to do
> this.
It only appears to limit code reuse. In actuallity, it encourages code reuse
since its much easier and generally safer to promote a nested routine than
it is to extract a code segment from the middle of a large routine. Further
the thought process used to identify appropriate nesting also encourages one
to think about reuse.
.
- References:
- OOP style
- From: swansnow
- Re: OOP style
- From: Bruce Roberts
- Re: OOP style
- From: swansnow
- Re: OOP style
- From: Maarten Wiltink
- OOP style
- Prev by Date: Re: OOP style
- Next by Date: Re: OOP style
- Previous by thread: Re: OOP style
- Next by thread: Re: OOP style
- Index(es):