Is modern C++ even trying to be safer than C? https://twitter.com/fugueish/status/1118287189018730497 …
The sp<> templates? Those are gross, yeah… is there even any documentation for them?
-
-
Yes, those horrible things. They're using C++14 for newer code with the standard library used much more, but std::shared_ptr + lightweight references including iterators (which is how it's actually used) can end up ridiculously hard to debug too. The problem can be so far away.
-
Once all kinds of fancy higher level inheritance and/or templates are involved, it gets so hard to unravel what is actually going on. The sp<...> reference counting is one of the most horrible things that I've ever had to deal with though. It makes me hate OOP and C++ so much.
- 4 more replies
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.