DEV Community

Effective Java Review Series' Articles

Back to Kyle Carter's Series
Effective Java! Use Bounded Wildcards to Increase API Flexibility

Effective Java! Use Bounded Wildcards to Increase API Flexibility

12
Comments
7 min read
Effective Java! Combine Generics and Varargs Judiciously

Effective Java! Combine Generics and Varargs Judiciously

5
Comments
6 min read
Effective Java! Consider Typesafe Heterogenous Containers

Effective Java! Consider Typesafe Heterogenous Containers

5
Comments
3 min read
Effective Java! Use Enums Instead of int Constants

Effective Java! Use Enums Instead of int Constants

10
Comments 2
8 min read
Effective Java! Use Instance Fields Instead of Ordinals

Effective Java! Use Instance Fields Instead of Ordinals

6
Comments
2 min read
Effective Java! Use EnumSet Instead of Bit Fields

Effective Java! Use EnumSet Instead of Bit Fields

6
Comments 2
2 min read
Effective Java! Use EnumMap instead of Ordinal Indexing

Effective Java! Use EnumMap instead of Ordinal Indexing

9
Comments
2 min read
Effective Java! Emulate Extensible Enums With Interfaces.

Effective Java! Emulate Extensible Enums With Interfaces.

8
Comments
2 min read
Effective Java! Prefer Annotations to Naming Patterns

Effective Java! Prefer Annotations to Naming Patterns

8
Comments
6 min read
Effective Java! Consistently Use the Override Annotation

Effective Java! Consistently Use the Override Annotation

6
Comments
2 min read
Effective Java! Use Marker Interfaces to Define Types

Effective Java! Use Marker Interfaces to Define Types

4
Comments 5
2 min read
Effective Java! Prefer Lambdas to Anonymous Classes

Effective Java! Prefer Lambdas to Anonymous Classes

7
Comments
3 min read
Effective Java! Prefer Method References to Lambdas

Effective Java! Prefer Method References to Lambdas

5
Comments
2 min read
Effective Java! Favor the Use of Standard Functional Interfaces

Effective Java! Favor the Use of Standard Functional Interfaces

7
Comments
3 min read
Effective Java! Use Stream Judiciously

Effective Java! Use Stream Judiciously

7
Comments
3 min read
Effective Java! Prefer Side-Effect-Free Functions in Streams

Effective Java! Prefer Side-Effect-Free Functions in Streams

4
Comments
3 min read
Effective Java! Prefer Collection To Stream as a Return Type

Effective Java! Prefer Collection To Stream as a Return Type

1
Comments
2 min read
Effective Java! Use Caution When Making Streams Parallel

Effective Java! Use Caution When Making Streams Parallel

3
Comments 1
3 min read
Effective Java! Check Parameters for Validity

Effective Java! Check Parameters for Validity

3
Comments 2
2 min read
Effective Java! Make Defensive Copies When Necessary

Effective Java! Make Defensive Copies When Necessary

8
Comments
3 min read
Effective Java! Design Method Signatures Carefully

Effective Java! Design Method Signatures Carefully

5
Comments 2
3 min read
Effective Java! Use Overloading Judiciously

Effective Java! Use Overloading Judiciously

7
Comments
2 min read
Effective Java! Use Varargs Judiciously

Effective Java! Use Varargs Judiciously

8
Comments
2 min read
Effective Java! Return Empty Collections or Arrays, Not Nulls

Effective Java! Return Empty Collections or Arrays, Not Nulls

8
Comments
2 min read
Effective Java! Return Optionals Judiciously

Effective Java! Return Optionals Judiciously

13
Comments
4 min read
Effective Java: Write Doc Comments For All Exposed APIs

Effective Java: Write Doc Comments For All Exposed APIs

4
Comments 2
2 min read
Effective Java: Minimize The Scope of Local Variables

Effective Java: Minimize The Scope of Local Variables

7
Comments
2 min read
Effective Java: Prefer for-each loops to traditional for loops

Effective Java: Prefer for-each loops to traditional for loops

3
Comments
2 min read
Effective Java: Know and Use the Libraries

Effective Java: Know and Use the Libraries

9
Comments 1
3 min read
Effective Java: Avoid Float and Double If Exact Answers Are Required

Effective Java: Avoid Float and Double If Exact Answers Are Required

4
Comments
2 min read