3 ms·
> Be cautious with use of auto. A bit here and there is fine, but too much and code can become unreadable. Yes, although one place where "auto" should almost a
by HarHarVeryFunny 3y ago
> Be cautious with use of auto. A bit here and there is fine, but too much and code can become unreadable.
Yes, although one place where "auto" should almost always be used is to declare iterators (not that one should be needing them so much nowadays), and I think harmless for range-based for loops "for (auto i : v)" although as you say there's definitely a convenience/readability trade off.