News for hackers. Stuff that matters.
Re:3rd Edition of Programming: Principles and Practice Using... by HarHarVeryFunny on Friday April 19, 2024 @12:31PM (#40088832)
> 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.

There are no comments on this comment yet.