Skip to content

DennisLiuCk/effective-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Effective Java Learning Repository

This repository contains code examples and notes from my journey studying "Effective Java (3rd Edition)" by Joshua Bloch. As a passionate Java developer, I've always been deeply impressed by how this book presents practical, real-world programming wisdom in such a clear and compelling way. The project serves as both a practical learning resource for Java best practices and design patterns, and my personal documentation of insights gained while exploring each chapter.

Through this repository, I aim to deepen my understanding of Java's nuances and best practices by implementing and experimenting with the concepts presented in the book. Each example and note reflects not just the book's teachings, but also my own discoveries and interpretations along the way. I hope this learning journey will help me become a more effective Java programmer while possibly helping others who are on the same path of mastering Java.

About the Book

"Effective Java (3rd Edition)" is a comprehensive guide that provides 90 best practices for the Java platform. Each item in the book presents coding patterns and practices that help developers write clear, robust, and efficient code.

Repository Structure

The repository is organized by chapters and items from the book:

Each chapter directory contains:

  • Code examples demonstrating the concepts
  • Notes and key takeaways
  • Practice exercises

Key Topics Covered

  • Creating and Destroying Objects
  • Methods Common to All Objects
  • Classes and Interfaces
  • Generics
  • Enums and Annotations
  • Lambdas and Streams
  • Methods
  • General Programming
  • Exceptions
  • Concurrency
  • Serialization

How to Use This Repository

  1. Clone the repository:
git clone https://github.com/DennisLiuCk/effective-java.git
  1. Navigate to specific chapters to find examples and notes
  2. Each item from the book has its own directory with relevant examples
  3. Jdk8+ is recommended to run the code for compatibility reasons(because that's the version I'm using when writing/refactoring the demo code)

Contributing

Feel free to:

  • Submit issues for questions or discussions
  • Create pull requests to improve examples
  • Share your own learning experiences

Resources

License

This project is for educational purposes. All code examples are inspired by "Effective Java (3rd Edition)" but written as original implementations for learning.


Happy Learning! 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages