Re:Are dynamic languages going to replace static languages? ...
by rerx on Wednesday August 04, 2021 @02:31AM
(#28057881)
The auto keyword in C++ is great because it helps you avoid unintended type conversions in assignments. For that reason it should be used widely IMHO. The downside is that it makes it slightly harder to read code outside of an IDE.
[ Parent
| on HN ]
Re:Are dynamic languages going to replace static languages? ...
by ComputerGuru on Wednesday August 04, 2021 @03:44AM
(#28058361)
> The downside is that it makes it slightly harder to read code outside of an IDE.
If that’s how you feel about auto, wait until you see something like rust’s post-facto type inference.