-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Description
I do not think there is any proper legitimate use left for the var keyword therefore I suggest we remove it.
In for loops already a type is suggested, instead of tuple declarations tuple assignments can be used and there is no need for the var for functions as function types can be used now.
Is there any other use case for var?
In #2558 I proposed to replace it with auto, but this issue would override that and just drop it.
Reactions are currently unavailable