Hacker News new | ask | show | jobs
by pwaivers 3338 days ago
a) You can optionally include the type if you want. I do this in some rare circumstances where it does create more readable code.

  string name = getHandleFromUser("peter", "waivers")
b) It is usually not necessary to know what the type is while reading code, and if you need to know you can just hover over the variable.