Re: Design for Extension



Martin Ankerl wrote:

> Hi! I have recently read about Design for Extension [1], which says
> that all your methods should be [...]

I tend to be extremely sceptical of prescriptive design principles. Even more
so of Names With Capital Letters.

If I ask someone why some aspect of a design is the way it is, or why something
is coded in a specific way, then I expect to get an explanation in terms of the
other aspects of the design (current, historical, or anticipated). That's to
say, I want a reasonably concrete explanation. If the author tells me that
it's because of <some Design Principle>, then s/he has told me nothing except
that s/he quite probably doesn't understand his/her own design. (The --
important -- exception to this is s/he's using the name of the Design Principle
just as a short-cut for something more concrete that s/he knows I'll be able to
recognise from the name).

In this case, the discipline of making all methods either abstract or final may
well be appropriate in some cases. But I wouldn't claim that it's appropriate
in all, or even most, cases. And the decision whether to follow that
discipline in some case should be based on the requirements of that case, not
on the tenets of some Design Principle.

-- chris


.



Relevant Pages

  • Re: w126 central locking similar to w124/w201?
    ... most MBs do share many design principle. ... W126 places the pump in the spare tire well. ... the difference I notice was the power to the pump. ... Old design was routing the power thru the door switch. ...
    (alt.auto.mercedes)
  • Re: Re: The Cosmological Argument
    ... enriched this group when s/he wrote: ... "What is Intelligent Design" which is ... are problematic to a theory of evolution. ... It's just the way evolutionary science defines itself. ...
    (talk.origins)
  • Re: Re: The Cosmological Argument
    ... enriched this group when s/he wrote: ... "What is Intelligent Design" which is ... are problematic to a theory of evolution. ... It's just the way evolutionary science defines itself. ...
    (talk.origins)
  • Re: The Cosmological Argument
    ... enriched this group when s/he wrote: ... "What is Intelligent Design" which is ... are problematic to a theory of evolution. ... It's just the way evolutionary science defines itself. ...
    (talk.origins)
  • Re: NOT "The Isaerli Government believes they need a Firefox Version!"
    ... a decent way of starting out but they're not a substitute for the full ... and actual knowledge of the discipline. ... Both of you went on to discover the intricacies of web page design. ... amateur web page designers and I also think that quality tools like ...
    (alt.html)