Changeset 34201 in project


Ignore:
Timestamp:
06/23/17 23:09:42 (5 weeks ago)
Author:
svnwiki
Message:

Anonymous wiki edit for IP [206.190.75.8]: English usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/design-by-contract

    r31126 r34201  
    3030== Command-query-separation
    3131
    32 There is still another metaphor of Meyer's, Command-Query-Separation.
    33 That means, that the programmer should never write routines both for a
     32There is another metaphor of Meyer's, Command-Query-Separation:
     33the programmer should never write routines both for a
    3434result and for a side-effect (like the ++ operators in C). Instead, two
    3535routines should be written, one that returns a result, the other that
     
    4242applies to Scheme as well, in fact to every language.
    4343
    44 Design by Contract is such a powerful paradigm, that anybody, who ever
    45 has programmed in Eiffel, would like to have it in his favorite
    46 language. Outside the Lisp family of languages, you where out of luck,
     44Design by Contract is such a powerful paradigm, that anyone who has ever
     45programmed in Eiffel, would like to have it in his favorite
     46language. Outside the Lisp family of languages, you are out of luck,
    4747but Lisps, being programmable programming languages, allow you to add
    48 to the language what you miss. In Lisp, you are a language designer as
     48features to the language. In Lisp, you are a language designer as
    4949well as a programmer! In what follows, you'll see, how easy it is to
    5050implement Design by Contract in CHICKEN Scheme.
Note: See TracChangeset for help on using the changeset viewer.