Sometimes, legacy code that contains Plain Old Data (POD) types (i.e., dumb structs that don’t have any member functions) can use an object-oriented “face lift”, e.g., adding a constructor or member functions. Instead of adding the new functionality directly into the POD struct, it’s better to derive a new class from it and add the new object-oriented functionality—member functions, constructor and destructor?to the newly-derived class. Leaving the struct intact will ensure binary compatibility with other code components that still use the original struct.


GM Creates Open Source uProtocol and Invites Automakers to Adopt It: Revolutionizing Automotive Software Development.
General Motors (GM) recently announced its entry into the Eclipse Foundation. The Eclipse Foundation is a prominent open-source software foundation. In addition, GMC announced its contribution of “uProtocol” to facilitate