4 ms·
Any decent IDE should be able to tell you the type by hovering your mouse over the variable, even if it's made with auto.
by symlinkk 9y ago
Any decent IDE should be able to tell you the type by hovering your mouse over the variable, even if it's made with auto.
- quickben 9y agoYeah, but that's corner case. We usually read code on screens, paper, email, git history, etc.
- roel_v 9y agoFor simple cases yes, but in the cases where you need auto the most (preprocessor or template meta programming) it very often doesn't work, and can't even work because it doesn't know the template types it's being instantiated with.