DEV Community

# effective

Posts

ūüĎč Sign in for the ability to sort posts by relevant, latest, or top.
Effective Java: For Instance Control, Prefer Enum types to readResolve

Effective Java: For Instance Control, Prefer Enum types to readResolve

Reactions 3 Comments
3 min read
Effective Java: Consider Serialization Proxies Instead of Serialized Instances

Effective Java: Consider Serialization Proxies Instead of Serialized Instances

Reactions 6 Comments
4 min read
Effective Java: Write readObject Methods Defensively

Effective Java: Write readObject Methods Defensively

Reactions 6 Comments
4 min read
Effective Java: Consider Using a Custom Serialized Form

Effective Java: Consider Using a Custom Serialized Form

Reactions 6 Comments
6 min read
Effective Java: Implement Serializable With Great Caution

Effective Java: Implement Serializable With Great Caution

Reactions 5 Comments
5 min read
Effective Java: Prefer Alternatives To Java Serialization

Effective Java: Prefer Alternatives To Java Serialization

Reactions 6 Comments
4 min read
Effective Java: Don't Depend on the Thread Scheduler

Effective Java: Don't Depend on the Thread Scheduler

Reactions 2 Comments
3 min read
Effective Java: Use Lazy Initialization Judiciously

Effective Java: Use Lazy Initialization Judiciously

Reactions 6 Comments
3 min read
Effective Java: Avoid Excessive Synchronization

Effective Java: Avoid Excessive Synchronization

Reactions 6 Comments
5 min read
Effective Java: Don't Ignore Exceptions

Effective Java: Don't Ignore Exceptions

Reactions 2 Comments
2 min read
Effective Java: Prefer Executors, Tasks, and Streams to Threads

Effective Java: Prefer Executors, Tasks, and Streams to Threads

Reactions 4 Comments
3 min read
Effective Java: Synchronize Access to Shared Mutable Data

Effective Java: Synchronize Access to Shared Mutable Data

Reactions 6 Comments
4 min read
Effective Java: Strive for Failure Atomicity

Effective Java: Strive for Failure Atomicity

Reactions 5 Comments
3 min read
Effective Java: Throw Exceptions Appropriate To The Abstraction

Effective Java: Throw Exceptions Appropriate To The Abstraction

Reactions 2 Comments
3 min read
Effective Java: Include Failure-Capture Information in Detail Messages

Effective Java: Include Failure-Capture Information in Detail Messages

Reactions 6 Comments
2 min read
Effective Java: Avoid Unnecessary Use of Checked Exceptions

Effective Java: Avoid Unnecessary Use of Checked Exceptions

Reactions 2 Comments
2 min read
Effective Java: Document All Exceptions Thrown By Each Method

Effective Java: Document All Exceptions Thrown By Each Method

Reactions 2 Comments
1 min read
Effective Java: Favor The Use of Standard Exceptions

Effective Java: Favor The Use of Standard Exceptions

Reactions 2 Comments
4 min read
Effective Java: Use Checked Exceptions for Recoverable Conditions

Effective Java: Use Checked Exceptions for Recoverable Conditions

Reactions 2 Comments
2 min read
Effective Java: Use Exceptions for Only Exceptional Circumstances

Effective Java: Use Exceptions for Only Exceptional Circumstances

Reactions 2 Comments
3 min read
Effective Java: Adhere to Generally Accepted Naming Conventions

Effective Java: Adhere to Generally Accepted Naming Conventions

Reactions 3 Comments
3 min read
Effective Java: Refer to Objects By Their Interfaces

Effective Java: Refer to Objects By Their Interfaces

Reactions 5 Comments
2 min read
10 effective tips for New Developers

10 effective tips for New Developers

Reactions 3 Comments
3 min read
Effective Java: Beware the Performance of String Concatenation

Effective Java: Beware the Performance of String Concatenation

Reactions 4 Comments 2
1 min read
Effective Dart Tricks

Effective Dart Tricks

Reactions 5 Comments
3 min read
Effective Java: Prefer Primitive Types to Boxed Types

Effective Java: Prefer Primitive Types to Boxed Types

Reactions 6 Comments
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

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

Effective Java: Know and Use the Libraries

Reactions 8 Comments 1
3 min read
Effective Java: Prefer for-each loops to traditional for loops

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

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

Effective Java: Minimize The Scope of Local Variables

Reactions 7 Comments
2 min read
Effective Java: Write Doc Comments For All Exposed APIs

Effective Java: Write Doc Comments For All Exposed APIs

Reactions 4 Comments 2
2 min read
Effective Java! Return Optionals Judiciously

Effective Java! Return Optionals Judiciously

Reactions 13 Comments
4 min read
Effective Java! Return Empty Collections or Arrays, Not Nulls

Effective Java! Return Empty Collections or Arrays, Not Nulls

Reactions 7 Comments
2 min read
Effective Java! Use Varargs Judiously

Effective Java! Use Varargs Judiously

Reactions 7 Comments
2 min read
Effective Java! Use Overloading Judiciously

Effective Java! Use Overloading Judiciously

Reactions 7 Comments
2 min read
Effective Java! Design Method Signatures Carefully

Effective Java! Design Method Signatures Carefully

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

Effective Java! Make Defensive Copies When Necessary

Reactions 7 Comments
3 min read
Effective Java! Check Parameters for Validity

Effective Java! Check Parameters for Validity

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

Effective Java! Use Caution When Making Streams Parallel

Reactions 3 Comments 1
3 min read
Effective Java! Use Stream Judiciously

Effective Java! Use Stream Judiciously

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

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

Reactions 4 Comments
3 min read
Effective Java! Perfer Lambdas to Anonymous Classes

Effective Java! Perfer Lambdas to Anonymous Classes

Reactions 7 Comments
3 min read
Effective Java! Favor the Use of Standard Functional Interfaces

Effective Java! Favor the Use of Standard Functional Interfaces

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

Effective Java! Prefer Method References to Lambdas

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

Effective Java! Use Marker Interfaces to Define Types

Reactions 2 Comments 5
2 min read
Effective Java! Consistently Use the Override Annotation

Effective Java! Consistently Use the Override Annotation

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

Effective Java! Prefer Annotations to Naming Patterns

Reactions 7 Comments
6 min read
Effective Java! Emulate Extensible Enums With Interfaces.

Effective Java! Emulate Extensible Enums With Interfaces.

Reactions 7 Comments
2 min read
An Effective Strategy for Better Learning

An Effective Strategy for Better Learning

Reactions 6 Comments
6 min read
Effective Java! Use Enums Instead of int Constants

Effective Java! Use Enums Instead of int Constants

Reactions 8 Comments 2
8 min read
Effective Java! Use Bounded Wildcards to Increase API Flexibility

Effective Java! Use Bounded Wildcards to Increase API Flexibility

Reactions 11 Comments
7 min read
Effective Java! Favor Generic Methods

Effective Java! Favor Generic Methods

Reactions 30 Comments 1
3 min read
Robust function to create select tag in javascript

Robust function to create select tag in javascript

Reactions 6 Comments
2 min read
Effective Java! Don't Use Raw Types

Effective Java! Don't Use Raw Types

Reactions 14 Comments 1
4 min read
Effective Java! Prefer Class Hierarchies to Tagged Classes

Effective Java! Prefer Class Hierarchies to Tagged Classes

Reactions 12 Comments 2
3 min read
Effective Java! Use Interfaces Only to Define Types

Effective Java! Use Interfaces Only to Define Types

Reactions 6 Comments
2 min read
Effective Java Tuesday! Prefer Interfaces to Abstract Classes

Effective Java Tuesday! Prefer Interfaces to Abstract Classes

Reactions 8 Comments
3 min read
Effective Java Tuesday! Favor Composition Over Inheritance

Effective Java Tuesday! Favor Composition Over Inheritance

Reactions 8 Comments 1
4 min read
Effective Java Tuesday! Minimize the Accessibility of Classes and Member

Effective Java Tuesday! Minimize the Accessibility of Classes and Member

Reactions 5 Comments
5 min read
Effective Java Tuesday! Consider Implementing `Comparable`

Effective Java Tuesday! Consider Implementing `Comparable`

Reactions 10 Comments 2
4 min read
loading...