3 ms·
There's some debate about where is the sweet spot in the use of `auto` between self documentation and minimizing refactoring costs. Fortunately, the programmer
by WalterBright 9y ago
There's some debate about where is the sweet spot in the use of `auto` between self documentation and minimizing refactoring costs.
Fortunately, the programmer gets to decide which to use.
- wtetzner 9y agoIt sounds like OP's issue isn't that auto exists or that people write code using it, it's that the documentation uses auto, which makes it hard to figure out the types of things when you look them up.
- yorwba 9y agoThat could be solved by turning function calls in example code into hyperlinks to the relevant documentation, which is a good idea in general.
- christophilus 9y agoOP here. Yes, that would be very helpful.