MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xvmws5/poohwritescpp/19sn268cdec76/?context=3
r/ProgrammerHumor • u/nd521 • 21d ago
95 comments sorted by
View all comments
Show parent comment
1
I much prefer to use the type if it is not super long
2 u/AvidCoco 20d ago The idea is that the type should come from the value not the assignee otherwise you might get implicit conversions.With ints it doesn’t actually matter but it’s a good habit to get into.
2
The idea is that the type should come from the value not the assignee otherwise you might get implicit conversions.
With ints it doesn’t actually matter but it’s a good habit to get into.
View all comments
Show parent comment
1
u/Qwertycube10 20d ago
I much prefer to use the type if it is not super long