"May you have a strong (-typed) foundation" why strong-typed programming languages do matter
Authors:
- R. BregaRBR. Brega
- G. RiveraGRG. Rivera
- R. SiegwartRSR. Siegwart
- 1 January 2004
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- Vol. 4 (10504729) , 3429-3434 Vol.4
Abstract
Programming efficient and reliable code can be considered a non-trivial task, as it requires deep understanding of the problem to be solved along with good programming skills. However, software frameworks and programming paradigms can provide a dependable infrastructure upon which better programs can be written and deployed. This allows engineers to focus mainly on their task, while relying on the underlying run-time environment for taking care of low-level programming issues, such as memory allocation and disposal, typing consistency and interface compliance. In this paper, we argue that strong-typed programming languages and paradigms offer a valid support for the production of reliable programs. Aware of the challenges of formal measurement metrics for code quality, we present the benefits of strong-typing by considering a practical application: the design and implementation of RoboX, a tour-guide robot for the Swiss National Exhibition Expo.02. The example is extremely well suited for such a discussion, since complex mechatronic applications can be considered critical systems - i.e., systems whose failure may endanger missions, lives and society - thus their reliability has to be made a prime concern.Keywords
This publication has 10 references indexed in Scilit:
- Designing a secure and robust mobile interacting robot for the long term2004
- Redundancy resolution of a Cartesian space operated heavy industrial manipulator2002
- Quality Attributes.1995
- Object-Oriented Programming in Oberon-21995
- Software metrics: good, bad and missingComputer, 1994
- Construction and testing of polynomials predicting software maintainabilityJournal of Systems and Software, 1994
- Strong typing of object-oriented languages revisited1990
- Design complexity measurement and testingCommunications of the ACM, 1989
- On understanding types, data abstraction, and polymorphismACM Computing Surveys, 1985
- Automating Software Design Metrics.1984