4 ms·
+1, I cringed when Herb Sutter released the 'Almost Always Auto' C++ presentation on YouTube. Sure, auto has its place, and I personally use it, but I just knew
by dirtydroog 6y ago
+1, I cringed when Herb Sutter released the 'Almost Always Auto' C++ presentation on YouTube. Sure, auto has its place, and I personally use it, but I just knew that less experience devs would go nuts with it, and it'd only make their lives easier for a short time.
- Koshkin 6y agoPlus, seeing the word 'auto' all over the place leaves a weird impression.
- thesuperbigfrog 6y agoIt lets C++ almost return to C-style duck typing. Whether that's really what you want and whether that is the best approach to solve the problem at hand is a matter of preference and the problem space. It is also allows for a "gradual typing" approach that Dart 1 had.