Object-oriented design patterns in the kernel, part 2
Posted Jun 8, 2011 10:07 UTC (Wed) by jzbiciak
(✭ supporter ✭
In reply to: Object-oriented design patterns in the kernel, part 2
Parent article: Object-oriented design patterns in the kernel, part 2
Oh, I agree. C is quite a pragmatic language, drawing its pragmatism from many directions. The fact that its compiler directive for turning on/off various vendor-defined features is named #pragma I think says a lot.
C99 also cleared up the meaning of const as it qualified pointer arguments to functions, offering up the much better suited restrict qualifier in its place. That was a case where the cookie crumbled a bit differently, but still fit with the general pragmatism of the C working group and C language. I can't really complain.
to post comments)