Empirical Observations ofClass - level Encapsulation and InheritanceTim Menzies
نویسندگان
چکیده
OO design theory promises numerous beneets from the use of inheritance and the information hiding properties of encapsulated classes. Such promises are commonly used to justify the switch to the OO paradigm from (e.g.) functional decomposition languages like C. In this paper, we audit these claims via an analysis of 2000 Smalltalk classes in 5 applications. We will nd that, on average, applications use low levels of inheritance and information hiding at the class and class hierarchy level.
منابع مشابه
Empirical Observations ofClass - level Encapsulation and InheritanceTim
OO design theory promises numerous beneets from the use of inheritance and the information hiding properties of encapsulated classes. Such promises are commonly used to justify the switch to the OO paradigm from (e.g.) functional decomposition languages like C. In this paper, we audit these claims via an analysis of 2000 Smalltalk classes in 5 applications. We will nd that, on average, applicat...
متن کاملUsing the Size of Classes and Methods as the Basis for Early Eeort Prediction; Empirical Observations, Initial Application; a Practitioners Experience Report
Early practical experience, based upon empirical observations strongly indicates that using classes as the basis for eeort estimation, can help to achieve DeMarco's holy grail. In providing evidence for this claim this position paper will describe (i) empirical size observations; (ii) estimations processes, based upon these observations ; and (iii) initial experiences using these processes. Thi...
متن کاملQ: Do We Really Use Encapsulation?
A: Not really. When we design, we need tools such as use cases to let us piece together the parts divided by encapsulation. When we code, we routinely violate encapsulation when we send messages to values returned from method calls. Experimentally , we see that the systems we are building seem to have move inter-object behaviour than intra-object behaviour. Our knowledge engineering experience ...
متن کاملLimits to Knowledge Level - B Modeling ( and KADS )
Despite the current enthusiasm for knowledge level-B modeling in general and KADS in particular, we nd there exists little empirical proof of the utility of this approach. In this paper, we will review the available evidence to suggest that alternative, less abstract, approaches may be better than KADS.
متن کاملLimits to Knowledge Level - B Modeling ( and KADS ) Tim
Despite the current enthusiasm for knowledge level-B modeling in general and KADS in particular, we nd there exists little empirical proof of the utility of this approach. In this paper, we will review the available evidence to suggest that alternative, less abstract, approaches may be better than KADS.
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1996