That's definitely true in certain cases, but in this instance it's obvious that it would be an int. It's up to the developer to make the best judgement like with anything else. Repeating types is rarely necessary. Anyway I thought you were saying that var was dynamic typing which it's not 😀
0 likes 0 replies
?