Quantcast
Channel: New Think Tank » Object Oriented Programming
Browsing all 35 articles
Browse latest View live

Code Refactoring 5

In this code refactoring tutorial, I will show you how to replace a constructor with a factory method in 2 code examples. I also solve a challenge question

View Article


Code Refactoring 6

We'll clean up conditional statements by extracting them into methods, talk about naming, guard clauses and polymorphism

View Article


Code Refactoring 7

We'll work with the strategy design pattern in java. We'll explore how the strategy pattern can be used to eliminate conditionals during code refactoring

View Article

Code Refactoring 8

I show you how to eliminate duplicate code using the template method pattern

View Article

Code Refactoring 9

In this part of my code refactoring tutorial I will cover how to turn an implied tree structure into a composite pattern. What do you do when you want to model a tree structure? You can either list the...

View Article


Code Refactoring 10

I revisit the Builder Design Pattern to answer questions I've received and to get you ready to build composites with it

View Article

Code Refactoring 11

One of you guys sent me a request to explain the chapter in Refactoring to Patterns titled Encapsulate Composite with Builder.

View Article

Code Refactoring 12

I show you how to eliminate large Accumulation Methods by Extracting Methods and Using a Collecting Parameter

View Article


Code Refactoring 13

I show you how to replace conditionals with the command pattern and much more

View Article


Code Refactoring 14

I show you how and when to use the Adapter Design Pattern

View Article

Code Refactoring 15

In this part of my code refactoring tutorial, we'll look at how to replace a primitive type with a class

View Article

Code Refactoring 16

I show you how can we add additional features to code using the decorator design pattern

View Article

Code Refactoring 17

This code refactoring tutorial is all about the Visitor Design Pattern

View Article


Code Refactoring 18

I cover the Abstract Factory Pattern to end my code refactoring tutorial

View Article

Refactoring Video Tutorial

Refactoring Video Tutorial : 18 Videos on the most common reafctorings

View Article

Browsing all 35 articles
Browse latest View live