title: Object-orientation in C
body: <p>What would be a set of nifty preprocessor hacks (ANSI C89/ISO C90 compatible) which enable some kind of ugly (but usable) object-orientation in C?</p>
  <p>I am familiar with a few different object-oriented languages, so please don't respond with answers like &quot;Learn C++!&quot;. I have read &quot;<a href="https://www.cs.rit.edu/%7Eats/books/ooc.pdf" rel="nofollow noreferrer" title="Object-Oriented Programming With ANSI C">Object-Oriented Programming With ANSI C</a>&quot; (beware: <strong>PDF format</strong>) and several other interesting solutions, but I'm mostly interested in yours :-)!</p>
  <hr />
  <p>See also <em><a href="https://stackoverflow.com/questions/351733" title="Can you write object oriented code in C?">Can you write object oriented code in C?</a></em></p>