Java 编码标准

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5278340/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-30 10:23:06  来源:igfitidea点击:

Java Coding standards

java

提问by Mouna Cheikhna

What coding standards in java should a programmer definitely follow for a more readable code?

为了获得更具可读性的代码,程序员绝对应该遵循 Java 中的哪些编码标准?

回答by RoflcoptrException

回答by yegor256

Start with Checkstyleand PMD.

CheckstylePMD开始。

回答by Sanjay T. Sharma

There are a lot of factors which go into defining the term "a good coding standard" but the official documentshould offer you some insight.

定义术语“良好的编码标准”有很多因素,但官方文档应该为您提供一些见解。