3 ms·
While I find your inlined example very bad to read, I think there are many attemps IDEs do for this. I remember some showing the function stub of a called funct
by ktpsns 7y ago
While I find your inlined example very bad to read, I think there are many attemps IDEs do for this. I remember some showing the function stub of a called function when moving the mouse on the call instruction. I also know multiple editors that allow to quickly browse the source code with CTRL+Enter (or CTRL+Mouse click) in a similar fashion as we click on links in the web. I personally never found indirection to be a problem. It's rather the solution.
- Thunderya 7y agoYes unfortunately my example is not very readable, but it was to illustrate the idea of including the sources of the called functions. Indeed, many IDEs allow you to easily display the source code of one function at a time, by navigating to the sources of the function or by displaying it in a pop-up, but the idea I had in mind is to be able to view the source code of the function with all its dependencies at a glance.