Red Hat Web Application Framework 6.1 Uživatelský manuál Strana 202

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 230
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 201
188 Appendix C. Java Standards
5. Acronyms, such as JDBC or URL, should always be capitalized when used. For instance, write
JDBCLoader instead of JdbcLoader. This makes it clear that the letters are part of an acronym
and is easier to read because it matches how it is referred to in English prose. Abbreviations that
are not acronyms should have their first letter capitalized, with the exception of ID.
6. When debugging, avoid using System.out.println or System.err.println. Instead, use
Log4j as described in Section 7.5 Using logging for debugging.
C.2. Java Coding Standards — References and Related Reading
Ambler, S.W. (1999) Writing Robust Java Code
http://www.ambysoft.com/javaCodingStandards.html.
Davis, M. (2000) Incremental Development with Ant and JUnit
http://www-4.ibm.com/software/developer/library/j-ant/index.html.
Hunt, A. & Thomas, D. (1999) The Pragmatic Programmer
http://www.pragmaticprogrammer.com/ppbook/index.shtml.
Sun (1999) Code Conventions for the Java™ Programming Language
http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html.
JUnit Home Page — http://www.junit.org/
Ant home page — http://jakarta.apache.org/ant/.
Zobrazit stránku 201
1 2 ... 197 198 199 200 201 202 203 204 205 206 207 ... 229 230

Komentáře k této Příručce

Žádné komentáře