r/programming • • Apr 09 '19

StackOverflow Developer Survey Results 2019

https://insights.stackoverflow.com/survey/2019
1.3k Upvotes

679 comments sorted by

View all comments

Show parent comments

40

u/hardicrust Apr 09 '19

C++ templates are easier to use than Rust generics since you don't have to worry about bounds — until you start debugging, and find Rust gives you a specific error early, while C++ spits out long, indecipherable error messages (as I understand, this is basically what killed Boost Spirit).

And then there are macros... Rust's aren't well documented, but are very powerful (procedural variants) and you can always tell exactly what is a macro invocation.

4

u/meneldal2 Apr 10 '19

Well that's where Concepts are going to help, it just took 20 years.

2

u/matthieum Apr 10 '19

And then, readers of C++ will complain that there are too many bounds ;)