Tell Less, Say More: The Power of Implicitness
نویسنده
چکیده
W hen we are asked to describe something, our natural impulse is to reach for an exhaustive definition. If what we are asked to describe is a software concept—and if we are using a programming language— we will usually start writing a record, structure, or class definition, and we won't come back until we have all the properties in place. A bank account is the combination of the account holder's name, a current balance amount, an account number , an allowed minimum balance, and so on; a paragraph (in a text processing system) is the combination of a list of words, a default font, a justification rule, and so on. But we won't feel comfortable until we have removed every single " and so on " and filled in all the details. How does object technology affect this? The first part of the answer is well known. It's that the properties used in the description are no longer confined to attributes or data members, indicating what physically constitutes an object: Now they also include routines or methods , indicating applicable operations. So we will not just have a record or structure declaration, which in a Pascal-like language would read type ACCOUNT = record holder: PERSON; ... Other attribute declarations ... end but will obtain a true class by adding the routines, as in the following Eiffel form: class ACCOUNT feature holder: PERSON change_holder (new_holder: PERSON) is do .. end ... Other attribute and routine declarations end This example illustrates the principal and well-known difference, which also defines why a C++ class is not the same thing as a C structure. But there is another difference, no less important even if it is less obvious. The first form is explicit; the second is implicit. Implicitness here means that we do not claim to have listed all the properties— or care. In any class declaration there remains a possible " and so on. " We accept that the description may be incomplete, yet we can use it as it is. This is the open-closed principle, which in my opinion is one of the central innovations of object technology: the ability to use a software component as it is, while retaining the possibility of adding to it later through inheritance. Unlike the records or structures of other approaches, a class of object technology is both closed and open: closed because we can start …
منابع مشابه
Ethics in medicine: students' opinions on disclosure of true diagnosis.
AIM To determine students opinions about diagnosis disclosure to the patient and other interested parties. METHODS During 2000/2001 academic year, an anonymous survey was conducted among the first-year (200 questionnaires) and sixth-year medical students (200 questionnaires) at the Zagreb University School of Medicine. Students were asked what they would say about the diagnosis to the patient...
متن کاملA new type of singly-implicit Runge-Kutta method
Implicit Runge-Kutta methods are considered which combine the single-implicitness or diagonal-implicitness property with a zero first row in the coefficient matrix. Acceptable stability for stiff problems is retained by requiring the last stage of a step to be identical to the output value. This requirement, which corresponds to the FSAL property for explicit Runge-Kutta methods, allows the met...
متن کاملI-14: The Impact of Disclosure Decisions on Donor Gamete Participants: Donors, Intended Parents and Offspring
To discuss the psychological impact of disclosure decisions on donor gamete participants including gamete donors, intended parents, and the children conceived through these third party reproductive techniques. In the past decade, there has been a dramatic increase worldwide in the number of children born as a result of gamete donation. The growing demand for these programs has resulted in a tre...
متن کاملEvaluation of the attitudes of general dentists in toward pediatric behavior guidance techniques in Yazd City in 2018
Introduction: Implementing informed strategies along with changing the attitude of general dentists can lead to many improvements in child behavioral management skills. . Therefore, the present study was conducted to evaluate the attitude of general dentists toward pediatric behavior guidance techniques Materials and Methods :In this descriptive cross-sectional study, 160 dental practitioners...
متن کاملThe Sylow theorems
Lagrange’s theorem tells us that if G is a finite group and H ≤ G, then #(H) divides #(G). As we have seen, the converse to Lagrange’s theorem is false in general: if G is a finite group of order n and d divides n, then there need not exist a subgroup of G whose order is d. The Sylow theorems say that such a subgroup exists in one special but very important case: when d is the largest power of ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- IEEE Computer
دوره 31 شماره
صفحات -
تاریخ انتشار 1998