It's promotion time: for class level fields!
🎯 What you'll learn: ✅ In this episode, we delve into a Java project, identifying key issues like improper encapsulation and violation of single responsibility principles. We demonstrate a practical approach to restructuring code by promoting fields to business objects, resulting in cleaner, more maintainable code. Perfect for developers keen on enhancing their refactoring skills and adhering to object-oriented design principles. 👨🏻💻 Code Link: https://github.com/arunveersingh/JavaCodeClinic/tree/main/javacodeclinic/src/main/java/org/tbp/example6 -- Code Refactoring Object-Oriented Principles Encapsulation Single Responsibility Principle Software Design Java Programming Code Maintenance Clean Code Strategies -- 0:00-1:00: Introduction to session's goal 1:01-5:10: Examination of code and identifying the problems 5:11-6:30: Refactoring approach with business objects 6:31-8:00: Walkthrough of refactored classes 8:01-9:30: Advantages of the refactoring 9:31-End: Conclusion and pro tip
Download
0 formatsNo download links available.