Abstract
The concept of classification as realized in most traditional object-oriented computer languages has certain limitations that may inhibit its application to modeling more complex phenomena. This is likely to prove problematic as modern software becomes increasingly more integrated with the highly dynamic physical world. In this paper, we first provide a detailed description of these limitations, followed by an outline of a novel approach to classification designed to overcome them. The proposed approach replaces the static multiple-inheritance hierarchy approach found in many object-oriented languages with multiple dynamic class hierarchies each based on different classification criteria. Furthermore, to better deal with ambiguous classification schemes, it supports potentially overlapping class membership within any given scheme. Also included is a brief overview of how this approach could be realized in the design of advanced computer languages.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
- 2.
- 3.
The first European scientists to examine the body of a platypus in 1799 declared it to be a fake, consisting of sewn-together parts of multiple different animals (https://en.wikipedia.org/wiki/Platypus).
- 4.
- 5.
- 6.
- 7.
This principle is, of course, yet another example of the divide-and-conquer strategy.
- 8.
For the purposes of this work, we use the definition of viewpoint as provided in the IEEE 42010 standard [7]. It defines a “view” as a description of a system “from the perspective of specific system concerns”, and a “viewpoint” as the “conventions for the construction and interpretation…of views”.
- 9.
Box and Draper in their work on empirical model building, state boldly that “essentially, all models are wrong, (but some are useful)” [1].
- 10.
We intentionally chose a different name than “feature” for this real-world element to better distinguish it from its conceptual representation, which is called Feature in this framework.
- 11.
The concept of ClassifiableEntity can be viewed as a type in the traditional software interpretation of that term.
- 12.
This may not necessarily be an error, but it does imply that the classification schemes are incomplete, which may not have been the intent.
- 13.
Smalltalk-80 was a dynamically typed language, so static type checking was impractical in any case.
References
Box, G., Draper, A.: Empirical Model-Building and Response Surfaces. Wiley, Hoboken (1987)
Crnković, I., et al.: A classification framework for software component models. IEEE Trans. Softw. Eng. 37(5), 592–615 (2011)
DeLine, R., Fähndrich, M.: Typestates for objects. In: Odersky, M. (ed.) ECOOP 2004. LNCS, vol. 3086, pp. 465–490. Springer, Heidelberg (2004). https://doi.org/10.1007/978-3-540-24851-4_21
Dijkstra, E.: Chapter I: Notes on structured programming. In: Dahl, O., et al. (eds.) Structured Programming, pp. 1–82. Cambridge, Academic Press (1972)
Drossopoulou, S., et al.: More dynamic object reclassification: Fickle. ACM Trans. Program. Lang. Syst. 24(2), 153–191 (2002)
Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, Boston (1995)
ISO/IEC/IEEE: Systems and Software Engineering – Architecture Description, 1st edn. ISO/IEC/IEEE Standard 42010 (2011)
Jackson, M.: Object-orientation: classification considered harmful. In: Proceedings of NordData-91 (1991)
Object Management Group (OMG): OMG Unified Modeling Language (OMG UML) – version 2.5.1, OMG document number formal/2017-12-05 (2017). https://www.omg.org/spec/UML/
Object Management Group (OMG): Semantics of a Foundational Subset for Executable UML Models (fUML) – version 1.3 Beta, OMG document number ptc/2017-02-01 (2017). http://www.omg.org/spec/FUML/1.3
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Selić, B., Pierantonio, A. (2021). Fixing Classification: A Viewpoint-Based Approach. In: Margaria, T., Steffen, B. (eds) Leveraging Applications of Formal Methods, Verification and Validation. ISoLA 2021. Lecture Notes in Computer Science(), vol 13036. Springer, Cham. https://doi.org/10.1007/978-3-030-89159-6_22
Download citation
DOI: https://doi.org/10.1007/978-3-030-89159-6_22
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-89158-9
Online ISBN: 978-3-030-89159-6
eBook Packages: Computer ScienceComputer Science (R0)