4 ms·
The title is misleading. It starts with that argument as a preamble, but the bulk of the content is a detailed technical explanation for how “auto” works in C+
by dogruck 9y ago
The title is misleading. It starts with that argument as a preamble, but the bulk of the content is a detailed technical explanation for how “auto” works in C++.
I was expecting some style guide rules of thumb.
Scott Meyers does a good job of explaining “auto” in Effective Modern C++.
- mannykannot 9y agoRules of thumb work a lot better, and are often easier to explain and remember, if you understand their rationale.
- dogruck 9y agoI completely agree with you. I just think the linked article could be strengthened by adding some rules of thumb. No complaints about its technical explanation.
- mannykannot 9y agoI see what you mean - those rules don't help with writing code.