Re:Everything that uses configuration files should report wh...
by Terr_ on Sunday June 25, 2023 @06:23PM
(#36473266)
> I haven't seen anyone prioritize debuggability
Static-checking tools and strongly-typed languages: "Are we a joke to you?"
Finding and removing bugs before the code runs is still debugging.
I think there is a new era yet to come.
> probably too complex to visualize in a usable way
You can always abstract the complexity. A simplification of the control flow graph at the function level.
As an example, I want to understand the Postgres codebase better...there are a lot of very visualizable things going on there. If you look at lecture slides on relational DBMS, there are lots of diagrams...so why can't be view those animating diagrams as the code executes.
I was thinking of instrumenting the code to get a trace of every function call and its arguments, and then filter that and visualize it.
The key to this approach working though is a think ultimately we need to write our code and organize our code such that it can be easily visualizable. The purpose of code is for humans to understand it, otherwise we are writing assembly.