Skip to main content
7 events
when toggle format what by license comment
Apr 25 at 20:52 vote accept Geremia
Jan 20 at 22:20 comment added Steve @JörgWMittag, it's the same with Microsoft Windows (at least in the old days) - plenty of parts with arguably OO concepts, no use of any OO "language" or compiler (instead assembly and C). This is why I don't go any further than referring to practitioners with a "certain style" of practice, because it can be very difficult to demarcate.
Jan 20 at 18:08 comment added Jörg W Mittag IOW, Linus Torvalds' stance on OO in the kernel is not that it's a bad idea but rather that it's such a good idea that they're already doing it without needing C++.
Jan 20 at 18:06 comment added Jörg W Mittag @Steve: I'm not sure I buy that. In fact, one of the arguments the proponents of using C++ for the Linux kernel make is that OO would make the kernel "better", and Linus Torvalds' response is not what you would expect at first glance: he argues that the Linux kernel already is heavily object-oriented, and that this works just fine using C, no C++ needed. If I remember correctly, the object-oriented rewrite of the filesystem subsystems as well as the introduction of the core kobject subsystem where some of the big refactors in Linux during the 2000s and 2010s.
Jan 20 at 12:05 comment added Steve @gnasher729, well it seems OOP forms fertile ground for them, so that is part of the alleged association. And there is often a question, too, of how near you want any OO and OS code. I think the main thing is that OOP intrinsically consists of long and complex patterns of code (on standard hardware, anyway), and that it tends to facilitate certain conceptualisations amongst its programmers that are not generally regarded as well-suited to having direct contact and working effectively with computer hardware (as opposed to working within the Matrix-like walled garden of the "language").
Jan 20 at 8:03 comment added gnasher729 Some people have competitions “how many patterns can I stuff into my design”. You don’t want them near OS code. Actually not near any code. But that has nothing to do with OO programming.
Jan 20 at 1:28 history answered Steve CC BY-SA 4.0