Relying on IDEs to give you insight into what should be obvious by just looking at the code show's that something's wrong IMO.
Relying on IDEs to give you insight into what should be obvious by just looking at the code show's that something's wrong IMO.
I used to really be anal on making every single line explicit: no shortcuts. But over time, especially with increasing my usage of templates, I've come to relax on these things and prefer to put my efforts in good variable names and trusting the compiler.
I'm not saying you should use auto for basic types (especially ones that can be easily cast into each other - that shit gets dangerous). I am saying that auto is extremely powerful when working with most interesting APIs. The most recent example I have is a lot of things I end up doing with chrono.
Sounds like there's an opportunity for better diff tools.