Re: Agile Ecosystems Vs (Rational) Unified Process

From: Universe (universe_at_tAkEuniverceOuT.net)
Date: 08/19/04


Date: Wed, 18 Aug 2004 23:01:24 -0400


*****REPOST

Go to Google Groups Home
Web Images Groups News Froogle more »
          Advanced Groups Search
  Preferences
 Groups Search result 12 for XP Elliott Pragmatist Empiricist group:comp.object
 Tom Sawyer Visualization • Graph visualization components for Java and Windows applications • www.tomsawyer.com Sponsored Links
 Faster Data Access • Accelerate your application with an intelligent cache and O-R mapping • www.persistence.com/caching
 Applications Management • GUI Tool to build JMX, SNMP Agent & MBeans for Java/J2EE/web Appl. Mgmt • www.adventnet.com
Search Result 12
From: Universe (universe@radixundo.net)
Subject: Re: NewBie : What is Liskov's Principle of Substitution ?
View: Complete Thread (95 articles)
Original Format
Newsgroups: comp.object
Date: 2003-05-13 05:27:44 PST

S Perryman wrote:

> "Stefan Ram" <ram@zedat.fu-berlin.de> wrote in message
> news:b9qgeq$ltflm$1@fu-berlin.de...
>> "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:
>> > Because nobody needs a language
>> >where Square and Rectangle should be unrelated types as they are according
>> >to LSP.
>> "Square" and "Rectangle" are not types. These are
>> are just two words. Unless you specify what types these
>> words are supposed to label by listing the operations
>> supported by instances of these two types and by specifying
>> the meaning of these operations, no types are given.
>> Only after such a specification is given, one can start
>> to argue about their relation and apply the LSP.
> Here are some "specifications" for you :
> Rectangle :
> - length/width
> - length > 0, width > 0
> Square :
> - length/width
> - length > 0, width > 0
> - length = width

> I didn't define any "operations" because they aren't necessary.

Gee, I certainly see operations. If you aren't using / for div what
are
you using it for? If it is div then gosh most mathematicians consider
div to be an operation.

Most in Logic cal > and = relational operators

So there's a *lot* of operations as I can see.

> Not necessary because I can already "argue about their relation
> and apply the LSP" . I can already see a potential substitutability
> conflict between Rectangle and Square, and not one line of code
> has been produced yet.

I don't see problems where Square and Rectangle, as siblings, are
derived
from Quadrilateral or Shape.

I do not see a problme where Square or Rectangle inherit from the a
*Mutable* version of the other.

Nor do I see a problem where Square is kind of, or type of Rectangle
in
some page border creation program.

So just as Ram relates above there are problems nor cake walks for
that
matter, *unless* people incorrectly do as as Perryman does here, and
RMartin (RCM) does in the Square/Rectangle - Circle/Ellipse threads,
base
themselves upon 1 or 2:
  a.) philosophical idealist *a priori* conceptualization where a world
*preconceived* to be *some* way before the actual, concrete domain and
specific application within a domain is known.
   b). philosohical Kantian *dualism* where ideas, theory, in the one hand
and practice on the other are seen as mostly independent and separate
*streams*. Falsely versus the scientific method where ideas/theory
and
practice are properly understood as complementary sides of the same
coin,
where each indiviudally, and the 2 together, drive the other forward
in
dialectical interaction. Theory most often, or significantly leads,
or
guides and practice verifies theory. Where there is general
progress in both are wedded in cable that spirals and forms a
spatio-temporal helix. With Kantian dualism the essentially sees
theory
and practice as individually respectively driving itself forwrd for
the
most part. In this case one might posit as Perryman does above that
there are some kind of "immutable", "ever-present" properties that
things
like Squares and Rectangles have apart from any kind of concrete,
specific, really existing - in imagination like *some* maths, or the
real
world - domain and *then* within a domain some particular, concrete,
specific application.

Ram espouses real science here, Perryman a regressive, in one way or
another, mythical, viewpoint wholly in concert his historical neo
crafto-pragmatism. See my site for details on exactly why XP and
those
close to it and in essential agreement with it at bottom though not
quite
as *visibly* or *obviously* extreme, like Perryman, the "neo" is
a backward looking craftistry + Amercan Pragmatist (British
Empiricist)
software engineering trend.

Elliott

-- 
OO software rests upon class abstractions expressed in class method
*behaviors*.  The sum of class method behaviors is the overall class
*role*.  Class role should have primary responsibility for managing
class
data such that the impact of class data is driven by the operation of
class methods.
         ~*~   Get with OO fundamentals, get OO.  ~*~
-
      We Don't Need US Fat Cat's Geopolitical Hegemony!
           People of the World Demand US Out of Iraq Now!
-
               * http:\\www.radix.net/~universe *
          @Elliott 2003 my comments ~ newsgroups+bitnet OK
Google Home - Advertising Programs - Business Solutions - About Google
©2004 Google
******END REPOST
Elliott
-- 
Theory Leads, Practice Verifies


Relevant Pages

  • Re: Why is OO Popular?
    ... Ellipses are circles is horribly wrong and squares are rectangles is ... Circles are ellipses breaks LSP ... > rectangle can be changed independently ... square value in a rectangle variable or a square value in a square ...
    (comp.object)
  • Re: SubTyping versus SubClassing
    ... small subset of ones used in mathematics. ... >> which you'd better have a square for each rectangle, ... Operations defined on the types are that theorems we have to prove ...
    (comp.object)
  • Re: Frage zu verdecktem Member
    ... definieren und zwar in dem man sagt, die Menge der Quadrate ist die Menge aller Rechtecke für die gilt, dass beide Seiten gleich lang sind. ... In Java ist ein Rectangle auch dann ein Rectangle wenn beide Seiten gleich lang sind und kann nicht ein Square werden, weil das Typsystem es nicht erlaubt. ...
    (de.comp.lang.java)
  • Re: delegation vs. inheritance
    ... the debate centered around deriving Rectangle behaviors from Square behaviors. ... The real problem was that Square was defined with a sideLength knowledge attribute while Rectangle was defined with majorSideLength and minorSideLength -- apples & oranges. ... So if one defined sideLengthN for Square, then Rectangle could be a subclass without any LSP inconsistency in the knowledge attributes. ...
    (comp.object)
  • Re: 4 Years Today
    ... when it aughta Be SQUARE ... >> have a kaliber... ... >Do I need to do a google on this? ... NA beer from Guiness... ...
    (rec.sport.football.college)

Loading