书籍详情
Java编码规范:英文版
作者:Allan Vermeulen等编著
出版社:人民邮电出版社
出版时间:2003-07-01
ISBN:9787115113719
定价:¥11.80
购买这本书可以去
内容简介
本书通过对Java编码风格的总结和规范,帮助Java程序员养成良好的编码习惯,提高工作效率。全书共总结了108条Java编码原则,分为一般原则、格式、命名、文档、编程、包6大类。每条原则后面都有细致的说明,有的还举出代码例证。“Summary(总结)”部分对这些原则给出了统一整体的呈现,使读者在速查的时候可以一目了然。全书最后给出了Java编程的常用术语说明。本书适合专业的Java程序员和软件项目管理人员阅读,也可供Java软件项目开发团队参考。
作者简介
ScottW.AmblerScottW.Ambler是敏捷建模方法学的创建者和思想领导者,是软件开发方法年轻一代的领军人物之一,在理论和实践上的造诣都很深厚。作为一位高级咨询师,他一直积极参与全球各种大型软件开发和过程改进项目。他是RoninInternational公司的高级顾问,该公司是专门提供软件过程指导、敏捷建模(AgileModeling)及基于对象/组件的软件架构建设和开发等方面服务的软件公司。同时,他还是一位视野广阔的方法学者,是《SoftwareDevelopment》杂志的专栏作家,撰写了多部颇受推崇的著作,其中包括《TheObjectPrimer》、《AgileModeling》、《TheElementsofUMLStyle》、《MoreProcessPatterns》等。>>更多作品
目录
A
abbreviations
abstract class
abstract data types
abstract method
abstract types
abstraction
access level
package
private
protected
public
accessors
acronyms
active object
Acyclic Dependencies
Principle
acyclic dependency
aggregation
APl documentation
architecture
arguments
assertions
attributes
B
BeanInfo class
behavior
binary compatible
block statements
Boolean
break
built-in types
C
case
checked exceptions
clarity
class hierarchy
classes
abstract
concrete
defining
documentation
implementation
indentation
inner
naming
stability
subclass
superclasses
volatility
client
code alignment
cohesion
collection names
comments
closing braces
comments (continued)
documentation
empty statements
end-line
fall-through
internal
keywords
types
Common Closure
Principle
Common Reuse
Principle
completeness
component
composition
concrete classes
concrete types
concurrency
condition
synchronization
consistency
constant values
constants, naming
constraints
constructors
container
contract
conventions
packaging
programming
coupling
critical section
cyclic dependency
D
data types
dead code elimination
defects
delegation
dependency
acyclic
cyclic
derivation
documentation
access level
APl
application
classes
comments
defects and
deficiencies
deviations
examples
exceptions
fields
interfaces
internal comments
invariants
methods
objects
packages
parameters
postconditions
preconditions
service
summary
synchronization
documentation
comments
domain
domain-specific
knowledge
double-check pattern
E
efficiency
empty statements
encapsulation
enumeration
equality
equals method
examples
exceptions
checked
documentation
run-time
unchecked
F
factor
fall-through comment
familiar names
fields
documentation
naming
final, declaring as
finally
fundamental data
types
G
generalization
H
hard tabs
high-level design
hypertext link
I
identifiers
implementation
dass
inheritance
indentation
anonymous
inner-classes
classes
do-while loops
for loops
if, else
inner-classes
methods
nested code
static-block
switch, case
try, catch, finally
while loops
inheritance
implementation
interface
multiple
inner classes
indentation
instance
instanceof
instanriation
interface inheritance
interfaces
documentation
naming
stability
volatility
invariants
J
Jackson, Michael
JavaBeans
Javadoc
tag ordering
K
keywords
spacing
L
lazy initialization
Least Astonishment
Principle of
line length
Liskov Substitution
Principle
local variables
naming
long lines
long names
M
Martin, Robert
methods
abstract
accessors
defining
documentation
indentation
naming
Meyer, Bertrand
multiple inheritance
multithreaded
mutex
mutual exclusion
N
name hiding
naming
classes
collections
constants
fields
interfaces
local variables
methods
packages
parameters
variables
naming conventions
native types
nested control structures
notify()
notifyAll ()
O
object
objects, documentation
Open-Closed Principle
operations
operator spacing
optimization
order of operations
original code
overview comment file
P
package access
package comment file
package descriptions
packages
naming
packaging
parameters
documentation
naming
parentheses, using
polymorphic
polymorphism
postconditions
preconditions
preformatted code
comments
prime directive
primitive types
Principle of Least
Astonishment
principles
Acyclic Dependencies
Common Closure
Common Reuse
l,east Astonishment
Liskov Substitution
Open-Closed
Reuse and Release
Equivalence
Stable Abstractions
Stable Dependencies
private access
program by contract
programming contract
properties
protected access
prototypes
public access
Q
qualifier
R
realization
responsibilities
return codes
Reuse and Release Equiva-
lence Principle
robustness
roles
S
Schryer, Norm
self-documenting code
service descriptions
services
signatures
simplicity
specialization
Stable Abstractions
Principle
Stable Dependencies
Principle
standards
state
static type checking
subclasses
substitution
subtypes
summary descriptions
superclasses
supertypes
switch
synchronization
documentation
synchronized
T
tabs
threads
throws clause
types
abstract
abstract data
built-in
concrete
data
fundamental data
native
primitive
subtypes
supertypes
U
unchecked exceptions
V
variables
local
naming
visibility
W
white space
whole-part
relationship
abbreviations
abstract class
abstract data types
abstract method
abstract types
abstraction
access level
package
private
protected
public
accessors
acronyms
active object
Acyclic Dependencies
Principle
acyclic dependency
aggregation
APl documentation
architecture
arguments
assertions
attributes
B
BeanInfo class
behavior
binary compatible
block statements
Boolean
break
built-in types
C
case
checked exceptions
clarity
class hierarchy
classes
abstract
concrete
defining
documentation
implementation
indentation
inner
naming
stability
subclass
superclasses
volatility
client
code alignment
cohesion
collection names
comments
closing braces
comments (continued)
documentation
empty statements
end-line
fall-through
internal
keywords
types
Common Closure
Principle
Common Reuse
Principle
completeness
component
composition
concrete classes
concrete types
concurrency
condition
synchronization
consistency
constant values
constants, naming
constraints
constructors
container
contract
conventions
packaging
programming
coupling
critical section
cyclic dependency
D
data types
dead code elimination
defects
delegation
dependency
acyclic
cyclic
derivation
documentation
access level
APl
application
classes
comments
defects and
deficiencies
deviations
examples
exceptions
fields
interfaces
internal comments
invariants
methods
objects
packages
parameters
postconditions
preconditions
service
summary
synchronization
documentation
comments
domain
domain-specific
knowledge
double-check pattern
E
efficiency
empty statements
encapsulation
enumeration
equality
equals method
examples
exceptions
checked
documentation
run-time
unchecked
F
factor
fall-through comment
familiar names
fields
documentation
naming
final, declaring as
finally
fundamental data
types
G
generalization
H
hard tabs
high-level design
hypertext link
I
identifiers
implementation
dass
inheritance
indentation
anonymous
inner-classes
classes
do-while loops
for loops
if, else
inner-classes
methods
nested code
static-block
switch, case
try, catch, finally
while loops
inheritance
implementation
interface
multiple
inner classes
indentation
instance
instanceof
instanriation
interface inheritance
interfaces
documentation
naming
stability
volatility
invariants
J
Jackson, Michael
JavaBeans
Javadoc
tag ordering
K
keywords
spacing
L
lazy initialization
Least Astonishment
Principle of
line length
Liskov Substitution
Principle
local variables
naming
long lines
long names
M
Martin, Robert
methods
abstract
accessors
defining
documentation
indentation
naming
Meyer, Bertrand
multiple inheritance
multithreaded
mutex
mutual exclusion
N
name hiding
naming
classes
collections
constants
fields
interfaces
local variables
methods
packages
parameters
variables
naming conventions
native types
nested control structures
notify()
notifyAll ()
O
object
objects, documentation
Open-Closed Principle
operations
operator spacing
optimization
order of operations
original code
overview comment file
P
package access
package comment file
package descriptions
packages
naming
packaging
parameters
documentation
naming
parentheses, using
polymorphic
polymorphism
postconditions
preconditions
preformatted code
comments
prime directive
primitive types
Principle of Least
Astonishment
principles
Acyclic Dependencies
Common Closure
Common Reuse
l,east Astonishment
Liskov Substitution
Open-Closed
Reuse and Release
Equivalence
Stable Abstractions
Stable Dependencies
private access
program by contract
programming contract
properties
protected access
prototypes
public access
Q
qualifier
R
realization
responsibilities
return codes
Reuse and Release Equiva-
lence Principle
robustness
roles
S
Schryer, Norm
self-documenting code
service descriptions
services
signatures
simplicity
specialization
Stable Abstractions
Principle
Stable Dependencies
Principle
standards
state
static type checking
subclasses
substitution
subtypes
summary descriptions
superclasses
supertypes
switch
synchronization
documentation
synchronized
T
tabs
threads
throws clause
types
abstract
abstract data
built-in
concrete
data
fundamental data
native
primitive
subtypes
supertypes
U
unchecked exceptions
V
variables
local
naming
visibility
W
white space
whole-part
relationship
猜您喜欢