tubeshowcase●1,194,391 videos♡ My collection 0
← Learn to Code

Learn to Code13:03

Code Refactoring 9

Derek Banas ↗

From the creator

Get the Code: http://goo.gl/1vLuN 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 info as primitives and then search through them for what you want or you can create objects that represent each level of the tree with the composite pattern.

Published 2013-01-25 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code