Bugs happen, but you can certainly implement a set of practices to catch them early or even prevent them. In this course, Defensive Coding in Java, you will learn how to make your code safer and more robust.
Bugs happen, but you can certainly implement a set of practices to catch them early or even prevent them. In this course, Defensive Coding in Java, you will learn how to make your code safer and more robust.
At the core of software development is a thorough knowledge of troubleshooting and debugging, but it is hardly "fun". It is better to prevent bugs, or at least react to them as early as possible. In this course, Defensive Coding in Java, you'll learn how to write safer and more robust software. First, you'll learn the concept of failing early and how to effectively use a variety of guard clauses in both methods and constructors. Next, you'll explore a set of very popular helper libraries that will make your defensive code more concise and elegant. Then, you'll see how important it is to return predictable and understandable values from your methods and you'll learn how to choose and implement them. Finally, you'll discover a variety of defensive techniques that are often overlooked, yet they greatly contribute to the overall software quality. When you're finished with this course, you'll have the necessary skills to write code that is more reliable and easier to maintain.
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.