Working with OO code featuring interfaces and inhe...
# present-company
j
Working with OO code featuring interfaces and inheritance, finding where the actual code you're executing can be tricky. Are there any interfaces that are optimized for that kind of search? The IDEs that I'm familiar with (IntelliJ, Eclipse) give some useful features (you can view type hierarchies, see where a method is called, see if a method is overridden in the current project, etc), but I can imagine other things they don't do. One in particular that I've thought about is reifying the process of navigating code, so I could see that I've navigated from X to the interface it called, and from there to a class implementing the interface, and so on… Another idea might be integrating static analysis, so that you could see a method might only be called by types X,Y,Z.
t
You might want to take a look at gtoolkit.com
j
I've read about it in the past, and it sounds wonderful, but I've never taken the leap. Are you saying it has some features like I'm imagining?
t
It’s built with the idea of constructing many kinds of navigation through code. Furthermore, the navigation through the different views is captured in an explicit flow.
j
Awesome.
I've downloaded the toolkit and am going through the tour. I'm collecting notes, is there a preferred place for feedback?
t
Great. You can write it here, or join our Discord: https://discord.gg/FTJr9gP