pith. sign in

arxiv: cs/0301032 · v1 · submitted 2003-01-28 · 💻 cs.PL · cs.SE

Subclassing errors, OOP, and practically checkable rules to prevent them

classification 💻 cs.PL cs.SE
keywords ruleserrorsexamplespreventalthoughavailablebreakcheckable
0
0 comments X
read the original abstract

This paper considers an example of Object-Oriented Programming (OOP) leading to subtle errors that break separation of interface and implementations. A comprehensive principle that guards against such errors is undecidable. The paper introduces a set of mechanically verifiable rules that prevent these insidious problems. Although the rules seem restrictive, they are powerful and expressive, as we show on several familiar examples. The rules contradict both the spirit and the letter of the OOP. The present examples as well as available theoretical and experimental results pose a question if OOP is conducive to software development at all.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.