8
useVim
3y

man I wish someone had taught me composite pattern earlier.

Comments
  • 0
    What do you find it useful for?
  • 2
    @AmyShackles being able to build nested trees without much complexity. I once had to build tree that had to grow on both Main and Cross axis and it was a recursion hell.
  • 0
    @useVim 0.0 I am intrigued.
  • 1
    Lots of implementation of an interface, all wrapped in a single 'composite' which also implements the same interface.

    Everything I know about design patterns is just scraped together 3rd hand on the job... the above might be vaguely right tho...
Add Comment