News for hackers. Stuff that matters.
Re:Where my mouth is by Figs on Sunday September 15, 2013 @09:37PM (#6391108)
I write both C and C++ on a regular basis. The set of idioms used in C is radically different from what you'd find in C++ (even though a lot of C code is valid C++). When I first started working on C projects written professionally (after quite a bit of experience with C++), I was seriously thrown off by things like reinterpreting structs to treat the first element as a parent structure (essentially emulating inheritance in pure C code).

There are no comments on this comment yet.