Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
symlinkk
· 9y ago · 0 comments
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.
Comments
[–]
quickben
9y ago
Yeah, but that's corner case. We usually read code on screens, paper, email, git history, etc.
[–]
roel_v
9y ago
For 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.