Google’s Java Coding Standards

27 Flares Twitter 0 Facebook 1 Google+ 26 LinkedIn 0 Filament.io 27 Flares ×

Google has released the java coding standards they enforced in their projects. These rules are enforced and clearly followed universally within Google.The standards document is divided into 6 main sections:

  • Source File Basics
  • Source File Structure
  • Formatting
  • Naming
  • Programming Practices
  • Javadoc

Most of these are already practiced else where and enforced by many popular IDE’s. But it is good to know the standards Google is following in their projects and this can be a good coding standards guide without any second thought.

Few notable points

A method is marked with the @Override annotation whenever it is legal. This includes a class method overriding a superclass method, a class method implementing an interface method, and an interface method respecifying a superinterface method.

For futher understanding read the  Google Java Coding Standards.

Share this post:

Related Posts

  • Santhosh

    Hi prem ,
    looked at your posts really nice . continue with the same and pls be more descriptive