I feel like it’s being redundant if it can be infe...
# random
s
I feel like it’s being redundant if it can be inferred from the initializer.
a
One use case may be when you want to hide an implementation behind an interface
s
Okay, I will think about this.
But in general I think it’s best to not repeat?
like var moveCounter = 0
vs. var moveCounter: Int = 0
a
Yes - I'm really only using them for a) interfaces and b) when dealing with platform types.
s
good to know
looks like the link is broken
Looks promising @Ruckus
r
Why is it considered good though?
s
I’d say more rigorous static checking by the compiler?