4 ms·
If you use an IDE, it is very easy to look at the type inferred by auto. So no worrying about types unless you want to.
by dingo_bat 8y ago
If you use an IDE, it is very easy to look at the type inferred by auto. So no worrying about types unless you want to.
- mlthoughts2018 8y agoWhat if you’re trying to read the code in a GitHub PR diff? Now I can’t review it because I actually have to go waste time getting the code into some IDE that offers me hovering type info? And what if you use only a console-based editor? Now you gotta abandon the developer tools that work for you because of some language feature? It sounds crazy to me to hear someone say that it’s OK to tolerate the downsides of a language feature because some other tool like an IDE might mitigate them in some cases. Why are we contorting our tools to overcome language problems and acting like it’s OK, instead of designing better languages in the first place that don’t require tooling gymnastics to make them readable?