News for hackers. Stuff that matters.
Re:Show HN: C++11 inline object definitions by matt42 on Wednesday May 07, 2014 @10:52AM (#7710466)
Yes, the goal is not to replace C++ classes. But I believe that there is cases when passing an object without having to declare a class can save time without impacting the readability of the code.

The other big advantage of this construct it that it provides introspection on objects at compile time, thus allowing to generate super fast serializers and deserializers without having to annotate the class.

Re:Show HN: C++11 inline object definitions by zedpm on Wednesday May 07, 2014 @03:57PM (#7712310)
I probably should have started out my initial comment by saying thanks for building something and sharing it with the world. I didn't intend for my comments to sound overly critical or like an attack, though at least one individual seems to have gone off the deep end because of them.

Thanks also for taking a bit more time to explain how you see it being used. Between your comments and some of the other constructive replies, it makes more sense to me now.

Re:Show HN: C++11 inline object definitions by Serow225 on Thursday May 08, 2014 @08:43AM (#7714943)
Thanks for your reflective follow-up post, it's refreshing to see.