3 ms·
I enjoyed this, and agree completely. I don't know if the pattern described within should be called "composition", but I have seen this and similar patterns. As
by draw_down 9y ago
I enjoyed this, and agree completely. I don't know if the pattern described within should be called "composition", but I have seen this and similar patterns. As the author says, it should be obvious which code owns which attributes.