Đang chuẩn bị liên kết để tải về tài liệu:
Java Programming Style Guidelines Seite 1 von 13

Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG

Java Programming Style Guidelines Seite 1 von 13 Java Java Programming Style Guidelines Version 3.5, January 2004 Geotechnical Software Services Copyright © 1998-2004 This document is available at http://geosoft.no/javastyle.html Table of Content l l l l l l l 1 Introduction ¡ 1.1 Layout of the Recommendations ¡ 1.2 Recommendations Importance 2 General Recommendations 3 Naming Conventions ¡ 3.1 General Naming Conventions ¡ 3.2 Specific naming Conventions 4 Files 5 Statements ¡ 5.1 Package and Import Statements ¡ 5.2 Classes and Interfaces ¡ 5.3 Methods ¡ 5.4 Types ¡ 5.5 Variables ¡ 5.6 Loops ¡ 5.7 Conditionals ¡ 5.8 Miscellaneous 6 Layout and Comments ¡ 6.1 Layout ¡ 6.2 White space. | Java Programming Style Guidelines Seite 1 von 13 Java Java Programming Style Guidelines Version 3.5 January 2004 Geotechnical Software Services Copyright 1998-2004 This document is available at http geosoft.no javastyle.html Table of Content 1 Introduction o 1.1 Layout of the Recommendations o 1.2 Recommendations Importance 2 General Recommendations 3 Naming Conventions o 3.1 General Naming Conventions o 3.2 Specific naming Conventions 4 Files 5 Statements o 5.1 Package and Import Statements o 5.2 Classes and Interfaces o 5.3 Methods o 5.4 Types o 5.5 Variables o 5.6 Loops o 5.7 Conditionals o 5.8 Miscellaneous 6 Layout and Comments o 6.1 Layout o 6.2 White space o 6.3 Comments 7 References 1 Introduction This document lists Java coding recommendations common in the Java development community. The recommendations are based on established standards see for instancefl 2 3 4 and 51 as well as feedback from a huge number of software professionals around the world. Main drawback with existing guidelines is that these guides are far too general in their scope and that more specific rules especially naming rules need to be established. Also the present guide has an annotated form that makes it far easier to use during project code reviews than most other existing guidelines. In addition programming recommendations generally tend to mix style issues with language technical issues in a somewhat confusing manner. The present document does not contain any Java technical recommendations at all but focuses mainly on programming style. While a given development environment IDE can improve the readability of code by access visibility color coding automatic formatting and so on the programmer should never rely on such features. Source code should always be considered larger than the IDE it is developed within and should be written in a way that maximize its readability independent of any IDE. 1.1 Layout of the Recommendations. The recommendations are grouped by topic and each .

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.