I hate to be blunt, but this is factually incorrect. Even w/o discussing details, code bases by C experts contain UB, crypto code from GOOG>
-
-
How else would you implement inheritance?
-
Indeed, there's essentially no way without either round trip (unchanged type tho) through void* or container_of type tricks.
-
Structure to how you do it can limit risk of mistakes, but avoiding gratuitous OOP-like design in favor of more static code is better IMO.
-
Can any large project avoid any OOP altogether? I'm not sure. And in practice most don't. Point is modern language enables that safely.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.