Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

14.3. Distilled

  • Coding standards are important for collaboration among members of your agile development team and for the long-term maintenance of your software. These standards include conventions for naming, coding style, and Javadoc comments.

  • Eclipse includes built-in facilities that reduce the burden of compliance with these standards. A code formatter applies style rules, code templates insert Javadoc comments per your guidelines, and a spell checker catches comment typos. The Java compiler goes beyond syntax checking to warn you about unused code.

  • Share your formatter rules, code templates, and spell checker dictionary in the team repository to keep all team members coordinated.

  • Use the Checkstyle plug-in (or another similar contribution) to audit your code for compliance with the standards. Automate the style audit as part of a complete Ant build file.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint