Re:38% of bugs at Airbnb could have been prevented by using ...
by Alex3917 on Monday February 11, 2019 @12:38PM
(#19136282)
> What's the point of naming based on types
More readable. When declaring a type you only see the type when the variable is declared or when it's passed into a function, whereas when putting the type in the name it's obvious in each line where it's used so you don't need to waste working memory on remembering what things are.
More readable. When declaring a type you only see the type when the variable is declared or when it's passed into a function, whereas when putting the type in the name it's obvious in each line where it's used so you don't need to waste working memory on remembering what things are.