Code Refactoring 6

Channel:
Subscribers:
1,330,000
Published on ● Video Link: https://www.youtube.com/watch?v=_7PI2LYAx-g



Duration: 13:26
25,419 views
300


Get the Code: http://goo.gl/KwvpW

In this part of the Code Refactoring tutorial I'll focus on conditionals. Conditional statements can very often make your code very hard to read.

Here we'll clean up conditional statements by extracting them into methods. We'll look at how important naming can be to writing understandable code. We'll take a look at guard clauses and when to use them. Then we'll see how polymorphism can eliminate conditionals all together.







Tags:
Code Refactoring
re-factoring
refactoring improving
Refactoring Video Tutorial