標題: Traps in Java
作者: Chan, JT
Yang, W
Huang, JW
資訊工程學系
Department of Computer Science
關鍵字: Java;language design;language definition;object-oriented programming
公開日期: 1-Jun-2004
摘要: Though the Java programming language was designed with extreme care, there are still a few ambiguities and irregularities left in the language. The ambiguities are those issues that are not defined clearly in the Java language specification. The different results produced by different compilers on several example programs justify our observations. The irregularities are issues that often confuse programmers. It is hard for a confused programmer to write robust programs. Furthermore, a few issues of the Java language are left intentionally open to the compiler writers. Their effects on Java programs are discussed. The problems of ambiguity, irregularity, and dependence on implementations frequently trap an incautious Java programmer. Some suggestions and solutions for the problems are provided in this paper. (C) 2003 Elsevier Inc. All rights reserved.
URI: http://dx.doi.org/10.1016/S0164-1212(03)00040-2
http://hdl.handle.net/11536/26739
ISSN: 0164-1212
DOI: 10.1016/S0164-1212(03)00040-2
期刊: JOURNAL OF SYSTEMS AND SOFTWARE
Volume: 72
Issue: 1
起始頁: 33
結束頁: 47
Appears in Collections:Articles


Files in This Item:

  1. 000221078000003.pdf

If it is a zip file, please download the file and unzip it, then open index.html in a browser to view the full text content.