Expanded Library

Java: Refactoring to Design Patterns

by Andrejs Doronins

Knowing design patterns is an essential skill in software craftsmanship. But how do you go about learning them when there are so many? Watch this course to quickly learn how to refactor messy code to the most useful and frequently used patterns.

What you'll learn

Challenges arise as software grows in size and complexity, and design patterns offer common solutions to them. In this course, Java: Refactoring to Design Patterns, you will gain the ability to convert typical procedural code into the most useful and frequently used design patterns. First, you will learn how to encapsulate object creation with so-called factories that greatly reduce future maintenance cost. Next, you will discover how to get rid of long if-else statements and reduce conditional complexity using behavioral patterns. Finally, you will explore how structural patterns help you better organize your code. When you are finished with this course, you will have the skills to write code that is organized, maintainable, and pleasant to work with.

About the author

Andrejs is a Quality Assurance professional with over 6 years of experience. He specializes in Test Automation but does not neglect the importance of getting involved in the Software Development Life Cycle early - finding issues during requirements analysis is as important as doing manual and exploratory testing. He is experienced in writing unit, integration and acceptance tests for a wide number of technologies and contexts - from browser automation to the Web API layer and all the way to test... more

Ready to upskill? Get started