Making Your Java Code More Object-oriented

This course will help leverage your conceptual understanding to produce proper object-oriented code. You will learn how to replace procedural code with objects for the sake of correctness, flexibility, and maintainability.
Course info
Level
Intermediate
Updated
Aug 26, 2019
Duration
2h 13m
Table of contents
Description
Course info
Level
Intermediate
Updated
Aug 26, 2019
Duration
2h 13m
Description

Procedural code can be replaced with objects to increase correctness, flexibility, and maintainability. In this course, Making Your Java Code More Object-oriented, you’ll learn how to design truly object-oriented classes in the Java programming language. First, you’ll learn how to represent a discrete object state and behavior to avoid imperative branching constructs. Next, you’ll discover that null references are a needless pain. Finally, you'll explore alternatives to null - substitute objects and optional objects. When you're finished with this course, you’ll have the skills and knowledge of designing classes that avoid traditional imperative constructs, with features resulting from orchestrating well-encapsulated objects rich in behavior.

About the author
About the author

Zoran Horvat is Principal consultant at Coding Helmet Consultancy, speaker and author of 100+ articles, and independent trainer on .NET technology stack.

More from the author
Mastering Object-oriented Programming in Java
Intermediate
3h 21m
Nov 6, 2019
Writing Purely Functional Code in C#
Advanced
4h 15m
May 23, 2018
More courses by Zoran Horvat
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
[Autogenerated] Hi, everyone. My name is Aaron Cora. Welcome to my course, making your Java code more object oriented. I am a principal consultant at Coding Helmet, and part of my work involves reviewing other people's code. What I find funny is that most of the code I read is really not the object oriented. It is rather procedural, with causes and modules only being the former containers of cold. Well, in this course, we're going to show what it takes to write through object or into cold. You'll see how to avoid branching, especially around the brilliance. And now you will learn how to never use another reference and how to encapsulate objects state and expose behavior. By the end of this course, you will be able to recognize your own errors of the past and develop a better coding style before beginning the course. You should be familiar with such concepts as polymorphism, inheritance and similar. You should feel at home with Java, like having no second thoughts about control structures or functional interface is, for example, from here you should be able to dive into advanced courses on object oriented programming and design. You may also wants to watch my next course mastering object oriented programming in Java, which covers such topics as removing loops, designing at the main specific language or implementing business rules in object oriented way. I hope you will join me on this journey to learn object oriented programming with making your Java code more object oriented course at rural site.