3 ms·
"you can write object-oriented code (useful for filesystems etc) in C, _without_ the crap that is C++."" Exactly. A million times, exactly.
by burgerbrain 16y ago
"you can write object-oriented code (useful for filesystems etc) in C, _without_ the crap that is C++.""
Exactly. A million times, exactly.
- cturner 16y agoFor others wondering, there's a thread about it at stack overflow http://stackoverflow.com/questions/351733/can-you-write-object-oriented-code-in-c http://stackoverflow.com/questions/351733/can-you-write-obje... There's a link in here to a book PDF that attempts to teach OO techniques in C. http://www.cs.rit.edu/~ats/books/ooc.pdf http://www.cs.rit.edu/~ats/books/ooc.pdf
- gnosis 16y ago"C Interfaces and Implementations" by David Hanson is also worth looking at.
- bryanlarsen 16y agoYou can write object-oriented code in assembly language too. I've done it -- it's fun and it works great. It was well suited for writing video games in the 80s.