不同的Java程序员可以采用不同的风格和方法来编程。 通过使用标准的Java命名约定,他们使自己和其他程序员的代码更易于阅读。 Java代码的可读性非常重要,因为这意味着花费更少的时间来弄清代码的作用,留下更多时间来修复或修改代码。 为了说明这一点,值得一提的是,大多数软件公司将有一份文件,概述他们希望程序员遵循的命名约定。 一位熟悉这些规则的新程序员将能够理解程序员编写的代码,这些代码可能会在多年前离开公司。

新西兰坎特伯雷大学Essay代写:使用Java命名约定

Different Java programmers can have different styles and approaches to the way they program. By using standard Java naming conventions they make their code easier to read for themselves and for other programmers. Readability of Java code is important because it means less time is spent trying to figure out what the code does, leaving more time to fix or modify it. To illustrate the point it’s worth mentioning that most software companies will have a document that outlines the naming conventions they want their programmers to follow. A new programmer who becomes familiar with those rules will be able to understand code written by a programmer who might have left the company many years before hand.

发表评论

电子邮件地址不会被公开。 必填项已用*标注