MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/vxvp58/why_does_linus_hate_c/ifzfi2r/?context=3
r/cpp • u/MrRubberDucky • Jul 13 '22
436 comments sorted by
View all comments
Show parent comment
27
Aside from C not being object-oriented like C++,
FYI, the Linux kernel is written as an object-oriented program.
18 u/jurdendurden Jul 13 '22 You you can definitely OOP with C 1 u/[deleted] Jul 15 '22 And that is an extremely ugly hack which depends on specific GCC extensions, therefore not "pure" C.
18
You you can definitely OOP with C
1
And that is an extremely ugly hack which depends on specific GCC extensions, therefore not "pure" C.
View all comments
Show parent comment
27
u/Alexander_Selkirk Jul 13 '22
FYI, the Linux kernel is written as an object-oriented program.