Skip to main content
Post Made Community Wiki by CommunityBot
Source Link
Joannes Vermorel
  • 9.3k
  • 13
  • 71
  • 107

Several reasons:

  • Any modern IDE will give you the variable type by simply hovering your mouse over the variable.
  • Most type names are way long (think HttpClientRequestProvider) to be reasonably used as prefix.
  • The type information does not carry the right information, it is just paraphrasing the variable declaration, instead of outlining the purpose of the variable (think myInteger vs. pageSize).