skip to main | skip to sidebar

My personal bookmarks


Friday, January 31, 2014

Google Java Coding Standards

http://google-styleguide.googlecode.com/svn/trunk/javaguide.html


Google Java Style

Last changed: December 19, 2013


1 Introduction
1.1 Terminology notes
1.2 Guide notes

2 Source file basics
2.1 File name
2.2 File encoding: UTF-8
2.3 Special characters
2.3.1 Whitespace characters
2.3.2 Special escape sequences
2.3.3 Non-ASCII characters

3 Source file structure
3.1 License or copyright information, if present
3.2 Package statement
3.3 Import statements
3.3.1 No wildcard imports
3.3.2 No line-wrapping
3.3.3 Ordering and spacing
3.4 Class declaration
3.4.1 Exactly one top-level class declaration
3.4.2 Class member ordering


Posted by David Chang at 1:43 PM
Labels: java

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

InfoQ

  • InfoQ
  • DZone
  • Matthias Nehlsen
  • Parleys
  • Learning - Coursera
  • Learning - edX
  • Behind the times
  • Bruce Eckel
  • Christophe Coenraets
  • EL Rincon
  • Gizmodo
  • Great Scala Talks
  • Groovy Blogs
  • Java World
  • Mandubian Blog
  • NetBeans Screen Casts
  • NetBeans Tutorials
  • Planet CouchDB
  • R - FlowingData
  • R - Journal of Statistical Software
  • R - mailing list
  • R - seek
  • R - Bloggers
  • Simply Statistics
  • Shared Memory
  • Smashing Magazine
  • Strongly Typed, Loosely Coupled
  • Taranfx
  • Team Blogs

Blog Archive

  • ►  2023 (1)
    • ►  April (1)
  • ►  2021 (1)
    • ►  November (1)
  • ►  2019 (1)
    • ►  February (1)
  • ►  2018 (11)
    • ►  November (1)
    • ►  September (2)
    • ►  July (1)
    • ►  June (7)
  • ►  2017 (7)
    • ►  December (1)
    • ►  October (3)
    • ►  June (3)
  • ►  2016 (6)
    • ►  December (4)
    • ►  March (2)
  • ►  2015 (22)
    • ►  July (14)
    • ►  May (1)
    • ►  April (3)
    • ►  March (2)
    • ►  February (2)
  • ▼  2014 (71)
    • ►  November (1)
    • ►  October (1)
    • ►  September (1)
    • ►  August (3)
    • ►  July (6)
    • ►  June (3)
    • ►  May (7)
    • ►  April (19)
    • ►  March (14)
    • ►  February (9)
    • ▼  January (7)
      • Google Java Coding Standards
      • EPC Architecture
      • Spark Scala-2.10 support
      • MapReduce and Spark
      • How to change input split size ?
      • build.sbt vs Build.scala
      • Datanode dead but pid file exists - cannot start d...
  • ►  2013 (12)
    • ►  December (4)
    • ►  November (4)
    • ►  February (1)
    • ►  January (3)
  • ►  2012 (43)
    • ►  August (3)
    • ►  July (5)
    • ►  May (4)
    • ►  April (6)
    • ►  March (12)
    • ►  February (2)
    • ►  January (11)
  • ►  2011 (69)
    • ►  December (12)
    • ►  October (6)
    • ►  September (1)
    • ►  July (10)
    • ►  June (11)
    • ►  April (6)
    • ►  March (8)
    • ►  February (7)
    • ►  January (8)
  • ►  2010 (37)
    • ►  December (12)
    • ►  November (4)
    • ►  October (2)
    • ►  August (1)
    • ►  July (1)
    • ►  June (1)
    • ►  April (3)
    • ►  March (1)
    • ►  February (12)
  • ►  2008 (1)
    • ►  March (1)

Tags

 

Total Pageviews