[Home] [By Thread] [By Date] [Recent Entries]

  • From: David Lee <dlee@c...>
  • To: John Cowan <cowan@m...>, "Costello, Roger L."<costello@m...>
  • Date: Tue, 9 Oct 2012 18:14:46 +0000

As another data point.  "Use Cases" (maybe not the same as "Case Analysis" ?)
is the primary methodology that Agile development advocates as opposed to the evil useless time consuming wasteful practice of writing specifications ... 

Not a great fan of Agile ... but did live through it ... it has its benifits.


----------------------------------------
David A. Lee
dlee@c...
http://www.xmlsh.org

-----Original Message-----
From: John Cowan [mailto:cowan@c...] On Behalf Of John Cowan
Sent: Tuesday, October 09, 2012 1:38 PM
To: Costello, Roger L.
Cc: xml-dev@l...
Subject: Re:  RE: Avoid Case Analyses

Costello, Roger L. scripsit:

>     Case analyses is essentially using examples to define a function (or
>      in the case of a specification to specify a behavior).

"Examples" usually means just a subset of the possible cases, whereas
"case analysis" involves specifying how to handle _every_ case.
Conflating them just produces confusion.

> "Programs that avoid case analyses are clearer and simpler than those
> that use case analyses."
> 
> Professor Richard Bird made that surprising statement in his book,
> Introduction to Functional Programming.

I can't find it using Amazon search within the book.  However, I think the
sense of "case analysis" in that book opposes it to "pattern matching",
which is a distinction that is only relevant to specific programming
languages that provide pattern matching.  The underlying implementation
is by an exhaustive set of cases anyway.

-- 
Even a refrigerator can conform to the XML      John Cowan
Infoset, as long as it has a door sticker       cowan@c...
saying "No information items inside".           http://www.ccil.org/~cowan
        --Eve Maler

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member