Giter Site home page Giter Site logo

xiaohuihuifgt / java-code-conventions Goto Github PK

View Code? Open in Web Editor NEW

This project forked from waylau/java-code-conventions

0.0 0.0 0.0 2.31 MB

Chinese translation of the Code Conventions for the Java Programming Language document.中文翻译《Java 编码规范》

Home Page: https://waylau.com/java-code-conventions/

java-code-conventions's Introduction

Code Conventions for the Java Programming Language 中文翻译《Java 编码规范》

Chinese translation of the Code Conventions for the Java Programming Language document. This document contains the standard conventions that we at Sun follow and recommend that others follow. It covers filenames, file organization, indentation, comments, declarations, statements, white space, naming conventions, programming practices and includes a code example.

  • 80% of the lifetime cost of a piece of software goes to maintenance.
  • Hardly any software is maintained for its whole life by the original author.
  • Code conventions improve the readability of the software, allowing engineers to understand new code more quickly and thoroughly.

The last revision to this document was revised and updated on April 20, 1999 by Sun Microsystems. There is alse a GitBook version of the book: http://waylau.gitbooks.io/java-code-conventions/ or http://waylau.com/java-code-conventions/ Let's READ!

《Java 编码规范》中文翻译。这个文档包含了 Sun 所遵循以及推荐的标准的规范。它涵盖了文件名,文件组织,压缩,声明,注释,语句,空白,命名规范,编码惯例以及一个代码示例。

  • 一个软件的生命周期中,80%的花费用于维护.
  • 几乎没有任何一个软件,在其整个生命周期中,均由最初的作者来维护.
  • 编码规范可以改善软件的可读性,可以让程序员尽快而彻底地理解新的代码.

文档最后版本由 Sun 公司于1999年4月20日更新,虽然过去十几年,但这个规范至今对编码的规范指导仍然适用,特此翻译。如有勘误欢迎指正。

目录开始阅读吧

Get Started 如何开始阅读

选择下面入口之一:

Issue 意见、建议

如有勘误、意见或建议欢迎拍砖 https://github.com/waylau/java-code-conventions/issues

Contact 联系作者:

java-code-conventions's People

Contributors

pengfeiwang321 avatar waylau avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.