https://github.com/dipjul/effective-java-notes
https://github.com/dipjul/effective-java-notes
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dipjul/effective-java-notes
- Owner: dipjul
- Created: 2024-01-15T07:27:50.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-21T12:21:02.000Z (almost 2 years ago)
- Last Synced: 2025-01-07T21:11:33.904Z (about 1 year ago)
- Size: 50.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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) |