| A modest proposal for curing the public field phobia |
| Full text |
Pdf
(243 KB)
|
| Source
|
ACM SIGPLAN Notices
archive
Volume 37 , Issue 4 (April 2002)
table of contents
COLUMN: Technical correspondence
table of contents
Pages: 54 - 56
Year of Publication: 2002
ISSN:0362-1340
|
|
Author
|
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 1, Downloads (12 Months): 10, Citation Count: 1
|
|
|
ABSTRACT
Field accessor methods have become a ubiquitous feature of object-oriented programming. The definition and use of such methods promote code bloat and an unnatural expression style. We propose a simple addition to the C++ language that can move the burden of providing abstraction support for fields from the programmer to the compiler.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
{AG96} Ken Arnold and James Gosling. The Java Programming Languge. Addison-Wesley, 1996.
|
| |
2
|
{JGHJ96} Stephen Jakab, Darren Gill, Alex Homer, and Dave Jewell. Visual Basic 5.0 ActiveX Control Creation. Microsoft Press, Redmond, Washington, USA, 1996.
|
| |
3
|
|
| |
4
|
|
| |
5
|
{RR00} Eva Rose and Kristoffer Høgsbro Rose. Java access protection through typing. In S. Drossopoulou, S. Eisenbach, B. Jacobs, G. T. Leavens, P. Müller, and A. Poetzsch-Heffter, editors, Formal Techniques for Java Programs, pages 136-142. Technical Report 269, Fernuniversität Hagen, 2000. Available online http://www.informatik.fernunihagen.de/pi5/publications.html.
|
| |
6
|
{Str97} Bjarne Stroustrup. The C++ Programming Language. Addison-Wesley, third edition, 1997.
|
|