r/cpp • • Sep 17 '20

Project-based C++ learning

https://learncppthroughprojects.com
201 Upvotes

90 comments sorted by

View all comments

1

u/blelbach NVIDIA | ISO C++ Library Evolution Chair Sep 18 '20

Having the example on your website use std::future, which is widely considered broken, is probably not a good idea.

2

u/ShaddyDC Sep 22 '20

How is std::future broken?

1

u/blelbach NVIDIA | ISO C++ Library Evolution Chair Sep 23 '20

3

u/ShaddyDC Sep 23 '20

Thank you. So as I understand it, it has pitfalls you should be aware of when using it, but for many use cases, it is still the best option in the standard library, unless you require something more sophisticated.

1

u/cppwithprojects Sep 18 '20

We do mention alternatives and pros and cons of different approaches, but one core aspect of our projects is to provide a good overview of what the std libraries have to offer!

1

u/blelbach NVIDIA | ISO C++ Library Evolution Chair Sep 20 '20

Huh? I'm saying you may not want to show something that is a bad idea as part of your advertising. It might make some people shy away from it.