Back to Browse

Lift Up Conditional Refactoring

2.5K views
Dec 7, 2019
10:52

Practical example of doing a lift up conditional refactoring in Java. The lift up conditional refactoring is useful for complex and deeply nested conditionals, where related parts are scattered all over the place. I am using the Gilded Rose Kata, which is a perfect example, as it consists of a really complex conditional. Try it yourself! The Code: https://github.com/gregorriegler/GildedRose-Refactoring-Kata/tree/lift-up-if-refactoring/Java Let me know what you think. https://twitter.com/gregor_riegler http://gregorriegler.com/

Download

1 formats

Video Formats

360pmp417.6 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Lift Up Conditional Refactoring | NatokHD