3 ms·
Agreed, good start. One small point, you say, "To declare a variable, you must first declare the type, then the name you want for it." With 'var' you don't de
by kenjackson 14y ago
Agreed, good start.
One small point, you say, "To declare a variable, you must first declare the type, then the name you want for it."
With 'var' you don't declare the type. Maybe the phrase should be "you often declare the type", with a footnote letting them know that later they'll learn about when they can avoid declaring the type and let the compiler deduce it for them.
- jinushaun 14y agoI'm pretty much all "var" all the time.