An open API service indexing awesome lists of open source software.

https://github.com/dipjul/effective-java-notes


https://github.com/dipjul/effective-java-notes

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# Effective Java Notes

## Contents

| Item No. | Item Name | Notes |
|----------|-----------|------|
| 1 | Consider static factory methods instead of constructors | [Link](./Chapter-2-Creating-and-Destroying-Objects/Item-01.md) |
| 2 | Consider a builder when faced with many constructor parameters | [Link](./Chapter-2-Creating-and-Destroying-Objects/Item-02.md) |
| 3 | Enforce the singleton property with a private constructor or an enum type | [Link](./Chapter-2-Creating-and-Destroying-Objects/Item-03.md) |
| 4 | Enforce noninstantiability with a private constructor | [Link](./Chapter-2-Creating-and-Destroying-Objects/Item-04.md) |
| 5 | Prefer Dependency Injection to Hardwiring Resources | [Link](./Chapter-2-Creating-and-Destroying-Objects/Item-05.md) |
| 6 | Avoid Creating Unnecessary Objects | [Link](./Chapter-2-Creating-and-Destroying-Objects/Item-06.md) |
| 7 | Eliminate Obsolete Object References | [Link](./Chapter-2-Creating-and-Destroying-Objects/Item-07.md) |
| 8 | Avoid Finalizers and Cleaners | [Link](./Chapter-2-Creating-and-Destroying-Objects/Item-08.md) |
| 9 | Prefer try-with-resources to try-finally | [Link](./Chapter-2-Creating-and-Destroying-Objects/Item-09.md) |