You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for the record my preference is to always use var. It is easy to consistently apply and reason about when writing code. And for the several years that i have been applying this (on the approx 100 projects i actively contribute to) i have never had a case where the code was confusing to read/understand as a result of using var
currently there are
places where type is apparent where var is not use
places where type is apparent where var is used
places where type is not apparent where var is used
which also produce a warning
places where target typed new is used instead of var
So what is the preference?
The text was updated successfully, but these errors were encountered: