Re:Clean your codebase with basic information theory
by valty on Monday February 19, 2024 @08:21AM
(#39429439)
> via what is essentially data tracing
Value tracing is at runtime. JetBrains cannot trace how values flow through your code.
To do this, you need to instrument all your code, and track all the transformations that occur for each value. It's really difficult to do if the language is not designed for it and there are a lot of performance implications.
If your code is written in a functional paradigm it becomes much easier to trace...such as with rxjs.
Re:Clean your codebase with basic information theory
by TeMPOraL on Monday February 19, 2024 @09:31AM
(#39430103)
At this point I'd settle for making the background DB a read/write interface to the codebase. Value tracing is nice, but there are many, many lower-hanging fruits that would improve the coding experience by orders of magniutde, and that can all be handled statically, or without global code instrumentation.
the indexing step is basically building this db in the background, it's just kept out of view / hidden unless you're building ide plugins or whatever.