Clean Code with Java examples
In this Clean Code Java course you will learn useful software principles that you can use in your every day programming.
Development ,Programming Languages,Java
Lectures -26
Duration -2 hours
Lifetime Access
Lifetime Access
30-days Money-Back Guarantee
Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.
Course Description
This is a course about useful clean code principles.
My aim is to teach you concepts that you can use every time you write code.
The course has Java examples, and I sometimes mention things like Spring and Lombok.
The same clean code principles also apply to PHP, C#, and Python.
What can this course do for you?
It can save your company and yourself a lot of development time and therefore a lot of money.
How?
Bad code practices can make development very slow on your medium and big projects.
This means a lot of money wasted on development time.
This type of project is also remarkably unpleasant to work on.
This course helps you avoid this by using clean code principles.
The course is structured in 4 parts:
1. Introduction - where we discuss what clean code is and why it's important
2. Small Functions - I gave small functions an entire section because I think it's one of the most important principles of clean code, together with small classes, the Single Responsibility Principle, and not crossing different levels of abstraction.
3. Clean code: Fundamental Principles - I discuss here fundamental things like method and variable names, parameters, comments, and exceptions.
4. Clean code: Advanced Principles - Here I talk about more abstract topics like the difference between an OOP object and a data structure object, composition over inheritance, symptoms of bad code, state, low coupling-high cohesion, command and query separation, tell-don't-ask, the law of Demeter, and more.
The course also contains some memes because you can't spell clean code without fun.
I tried to focus on things you can use every day when programming and stay away from barren theory.
There's no point in wasting our time with useless knowledge that would just seem like it's helping you as a programmer, but that you will forget in 2 weeks.
If that had been the point, this would be a 10-hour course about programming patterns.
But it isn't.
I tried to make the course full of useful information but not too long.
If you invest as little as two hours of your life in this course, about the time you would spend watching a movie, you will become a much better developer.
Goals
Learn how to write clean code.
Why small functions are the best thing you can do when developing
How to name variables, functions, and classes
How many parameters should a function have?
What to do about Boolean, nullable, and return parameters
How clean code affected MVC
How to beautify predicates
Why comments are bad and when you can use them
The difference between an OOP object and a data structure object
What kind of exceptions to use
Why composition is good and inheritance is bad
What are the symptoms of bad code?
What state is it, and why is it important?
Why your code should have low coupling and high cohesion
How to avoid spaghetti code
What are Command and Query separation, Tell Don't Ask, and The Law of Demeter?
The test pyramid and TDD
How over-engineering is not a solution to bad code
Basically everything you wanted to know about programming but were too afraid to ask
Prerequisites
You must know the basics of a programming language before taking this course.
Preferably Java, since the code examples are in Java.

Curriculum
Check out the detailed breakdown of what’s inside the course
Introduction
5 Lectures
-
Why this course 02:25 02:25
-
Clean code - From art to science 02:48 02:48
-
What people say 04:39 04:39
-
Let's look at some code 03:03 03:03
-
Empathy 03:12 03:12
Clean code: small functions
6 Lectures

Clean code: Fundamental principles
6 Lectures

Clean code: Advanced principles
9 Lectures

Instructor Details

Liviu Oprisan
About me
I am a big fan of using and helping others use agile/scrum and writing and helping others write easy to maintain code.
I have been a developer for 16 years. I have 10 years of PHP experience, 3 years of Java and JavaScript, 2 years of C# and 1 year of Python.
I am passionate about writing easy to maintain code and I tried to help the programming community with my courses on this subject.
I'm also a big fan of Agile and SCRUM and how you can build motivated, happy teams around it.
I've worked on a lot of types of projects. From small to medium projects where I was the only developer to medium and big projects in teams of 30+ people.
Besides being a developer, in the last five years I've also have the Scrum Master role, or led the process of applying Scrum inside the team.
I am currently writing mostly Java, and have certifications in PHP and Scrum.
Course Certificate
Use your certificate to make a career change or to advance in your current career.

Our students work
with the Best


































Related Video Courses
View MoreAnnual Membership
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses
Subscribe now
Online Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now