7 ms·
> you still have to look through the code to find the definition of an object I haven't done this in the last 10 years. I typically use IDEs, and every IDE I'v
by winter_blue 9y ago
> you still have to look through the code to find the definition of an object
I haven't done this in the last 10 years. I typically use IDEs, and every IDE I've used has had a "Go To Definition/Declaration" feature, and let you set a key binding for it. On JetBrains' IDEs, I've gotten quite used to pressing Ctrl+B to jump to a type definition's, and then pressing Alt+← to jump back to where I was originally in the code.
- flavio81 9y ago>I typically use IDEs, and every IDE I've used has had a "Go To Definition/Declaration" feature This is also available in some dynamically typed languages, working just fine.
- lmm 9y agoYou can go to the definition, but the definition might just be foo.bar(). Whereas in a statically typed language the IDE can always tell you what the type is (you shouldn't even need to jump to the declaration/definition, you should be able to mouseover or hit a hotkey to just get the type without leaving the line you're on)
- dahauns 9y ago"working just fine". No, not even close to the same level.
- deleted 9y ago[deleted]