Clean Code with Java: Learn Simple Design, Refactoring & TDD

Write Clean Code with Java. Get Hands-on with Examples for Simple Design, Refactoring and Test Driven Development – TDD.

Learn to Write Clean Code with Java. Get Hands-on with Code Examples involving 4 principles of Simple Design, Refactoring & TDD.

What you’ll learn

  • You will Learn to Write Clean Code with Java.
  • You will Learn and apply 4 Principles of Simple Design.
  • You will Understand Refactoring and Refactor Java Code.
  • You will Learn TDD and apply TDD to write Clean Code in Java.
  • You will look at examples of bad code and refactor them to clean code.
  • You will understand that TDD + 4 Principles of Simple Design + Continuous Refactoring = Clean Code.

Course Content

  • Getting Started with Clean Code –> 10 lectures • 53min.
  • Getting Started with 4 Principles of Simple Design –> 15 lectures • 1hr 22min.
  • Getting Started with Refactoring –> 11 lectures • 1hr 14min.
  • Getting Started with Test Driven Development –> 9 lectures • 1hr 11min.
  • Thank You –> 2 lectures • 2min.

Clean Code with Java: Learn Simple Design, Refactoring & TDD

Requirements

  • You will need some programming experience with Java.
  • You will need access to a Java IDE like Eclipse.
  • You have an attitude to learn while having fun :).

Learn to Write Clean Code with Java. Get Hands-on with Code Examples involving 4 principles of Simple Design, Refactoring & TDD.

  • Step I : Understand Clarity of Code (Unit Tests)
  • Step II: Focus on 4 Principles of Simple Design
  • Step III: Get started with Refactoring
  • Step IV : Understand TDD

*** Step By Step Details *** 

Getting Started with Clarity in Code

  • Clean Code with Simple Design, Refactoring and TDD – Getting Setup
  • Step 00 – Clarity in Code – Problem 1 – Gilded Rose – Introduction
  • Step 01 – Clarity in Code – Problem 1 – Gilded Rose – Refactoring Unit Test 1 – Default Item
  • Step 02 – Clarity in Code – Problem 1 – Gilded Rose – Refactoring Unit Test 2 – Default Item
  • Step 03 – Clarity in Code – Problem 1 – Gilded Rose – Refactoring Unit Test 3 – Aged Brie
  • Step 04 – Clarity in Code – Problem 1 – Gilded Rose – Refactoring Unit Test 4 – Backstage Passes
  • Step 05 – Clean Code – Attitude for the course

Getting Started with 4 Principles of Simple Design

  • Step 01 – 4 Principles of Simple Design – An Introduction
  • Step 02 – 4 Principles of Simple Design – Exercise – StudentHelper.isGradeB
  • Step 03 – 4 Principles of Simple Design – Exercise – StudentHelper.getGrade
  • Step 04 – 4 Principles of Simple Design – Exercise – StudentHelper.willQualifyForQuiz
  • Step 06 – Most difficult challenge in programming – Naming
  • Step 07 – 4 Principles of Simple Design – Exercise – TextHelper.swapLastTwoCharacters
  • Step 07 – Should you have comments in code?
  • Step 08 – 4 Principles of Simple Design – Exercise – TextHelper.truncateAInFirst2Positions
  • Step 09 – 4 Principles of Simple Design – Exercise – CustomerBOTest
  • Step 10 – 4 Principles of Simple Design – Exercise – CustomerBOTest
  • Step 11 – Attitude towards Unit Testing
  • Step 12 – Unit Testing Principles

Getting Started with Refactoring

  • Step 01 – Introduction to Refactoring
  • Step 02 – Refactoring – Exercise – CustomerBOImpl.getCustomerProductsSum
  • Step 03 – Refactoring – Exercise – Movie.isValidRating
  • Step 04 – Refactoring – Exercise – MenuAccess.setAuthorizationsInEachMenus
  • Step 05 – Refactoring – Exercise – UserLoginChecker.isUserAllowedToLogin – 1
  • Step 06 – Refactoring – Exercise – UserLoginChecker.isUserAllowedToLogin – 2
  • Step 07 – My 10 Tips for Good Programmers

Getting Started with Test Driven Development

  • Step 01 – Introduction to Test Driven Development – TDD
  • Step 02 – Test Driven Development – TDD – Exercise – StringHelper.replaceAInFirst2Positions
  • Step 03 – Test Driven Development – TDD – Exercise – StringHelper.replaceAInFirst2Positions
  • Step 04 – Test Driven Development – TDD – Exercise – StringHelper.areFirstTwoAndLastTwoCharsTheSame
  • Step 05 – Test Driven Development – TDD – Exercise – Bowling Kata – Introduction
  • Step 06 – Test Driven Development – TDD – Exercise – Bowling Kata – Getting Started
  • Step 07 – Test Driven Development – TDD – Exercise – Bowling Kata – Spare
  • Step 08 – Test Driven Development – TDD – Exercise – Bowling Kata – Strike
  • Step 09 – 3 Tips for Test Driven Development – TDD

Thank You

  • Clean Code with Simple Design, Refactoring and TDD – Thank You
Get Tutorial