Linux kernel design patterns - part 2
Linux kernel design patterns - part 2
Posted Jun 15, 2009 23:34 UTC (Mon) by neilbrown (subscriber, #359)In reply to: Linux kernel design patterns - part 2 by johill
Parent article: Linux kernel design patterns - part 2
My main goal was not to describe the best patterns, but to describe the value of patterns in general, and illustrate that with a few that I was aware of. The pattern that you describe is not one I have seen, and I suspect there are many more that I am not aware of. One of my hopes in writing the series was that it would encourage others to describe patterns they had seen and liked. You have at least partially realised this - thanks!
I imagine there would be a number of situations where that pattern would be very apt - possibly more apt than the pattern of simply exposing everything. What would be really useful (for any pattern) would be some analysis of strengths and weaknesses which could guide the choice of when it is a good one to use, and when it would best be avoided. Enumerating examples can help a lot there.
Thanks.