News for hackers. Stuff that matters.
Re:38% of bugs at Airbnb could have been prevented by using ... by kaoD on Monday February 11, 2019 @04:21AM (#19133074)
Isn't that just ad-hoc typing?

What's the point of naming based on types, instead of just declaring types so they can be programmatically analyzed by your tools?

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.