You're not always going to be looking at code through an IDE, though (i.e. if I'm looking at a code review on GitHib, which honestly makes up a lot of my time spent), and for large projects, the indexing that makes that happen can be painfully slow and sluggish to use (I'm looking at you, Eclipse). And either way, it's always going to be better for readability if the information I need is right there on the screen for you, not hidden behind clicks and interaction with the IDE.
Its a continuum of how much information is hidden without going to the implementation. A lot of the time knowing the type won't help that much anyway. So:
are equally obscure without going to the definition if you aren't already familiar with the code. I find it to be the exception not the rule that the implicit declaration is what makes the code unclear.
19
u/BinaryRockStar Mar 09 '16
In pretty much any IDE you can hover over a method call and it'll give you the signature, or hover over the variable and it'll give you the type.