LWN.net Logo

Object-oriented design patterns in the kernel, part 1

Object-oriented design patterns in the kernel, part 1

Posted Jun 1, 2011 22:32 UTC (Wed) by martinfick (subscriber, #4455)
In reply to: Object-oriented design patterns in the kernel, part 1 by michaeljt
Parent article: Object-oriented design patterns in the kernel, part 1

I think that would fall under Neil's generalization that:

> In general, any testing performed by the caller before calling a method can be seen as an instance of the "mid-layer mistake" discussed in a previous article.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds