4 ms·
> 'auto' is a terrible choice of the keyword. 'var', like in C#, would be much, much better. I don't know; "auto" to me means "automatically deduced". While "
by gumby 9y ago
> 'auto' is a terrible choice of the keyword. 'var', like in C#, would be much, much better.
I don't know; "auto" to me means "automatically deduced". While "var" sounds like it should apply only to variables, and auto to types (including return types, argument types etc).
The reality is it could have been called "floog" -- after a while I don't even think of the English meaning of "if" when I write "if (foo)...", much less "for(...", and non-english speakers simply learn the keywords by rote, much as non-Italian speakers learn western musical notation by rote (or do you silently translate "fortissimo" in your head as you play?)