3 ms·
> It was an easy-to-use API so it was deprecated by C++20, That tracks with my experiences with C++.
by kstrauser 2y ago
> It was an easy-to-use API so it was deprecated by C++20,
That tracks with my experiences with C++.
- zabzonk 2y ago> easy-to-use API A lot of C (not so much C++) programmers thought it was easy to use correctly. Mostly, they were wrong.
- indigoabstract 2y agoI think he meant an easy to misuse API.
- optimalsolver 2y agoAccidentally correct is the best kind of correct.
- alecco 2y ago> While the old API expected that the shared object is not used directly, the API made it possible which led to undefined behaviour, typically producing a data race. - C++ is insecure, don't use it [C++ fixes a hole] - C++ always deprecates the easy APIs [Stanley face]
- kstrauser 2y agoI get what they were trying to say, but the exact phrasing amused me. It read like: "This feature was too easy and convenient, so we yanked it."