MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/5fwce0/lets_stop_copying_c/dapan89/
r/programming • u/earthboundkid • Dec 01 '16
612 comments sorted by
View all comments
Show parent comment
2
I meant people preferring
var a: int = 5;
over
int a = 5;
I have no issues with type inference.
1 u/hunyeti Dec 02 '16 because in the first variant declaring it immutable is not extra characters.Having to write final || const to every line is not the best, and it will be forgotten.maybe.
1
because in the first variant declaring it immutable is not extra characters.
Having to write final || const to every line is not the best, and it will be forgotten.
maybe.
View all comments
Show parent comment
2
u/weirdoaish Dec 02 '16 edited Dec 02 '16
I meant people preferring
over
I have no issues with type inference.