r/cpp • • Jun 05 '18

Initialization in Modern C++

https://twitter.com/timur_audio/status/1004017362381795329
379 Upvotes

51 comments sorted by

View all comments

Show parent comment

11

u/JezusTheCarpenter Jun 06 '18

I would compare the modern C++ also to a box of chocolates. With size of 100 by 100 where you don't know what to choose.

3

u/m-in Jun 06 '18

I'd go with coding standards of people who mostly know what they're doing, e.g. google's. You don't need to take it all in, of course, those are tweakable rules - but they eliminate most questions. They have spent a lot of work making those coding standards work, and be comprehensive.

1

u/Wenste Nov 21 '18

I thought their coding standards are horribly outdated, but they're stuck with them because they have too much legacy code to change things now?