News for hackers. Stuff that matters.
Re:Everything that uses configuration files should report wh... by cmrdporcupine on Sunday June 25, 2023 @11:12AM (#36469042)
So it's an interesting thought experiment, but... I suspect the Rust compiler could statically figure this out for a large # of cases .... based on following the borrow/copy/clone tree for any particular variable. It could in theory be possible to write a tool which traces that graph back to the snippets of code where it originates, though that would usually end up being a command-line args parser, or a config file reader...

It's mostly feasible in other languages to, but probably not with the same level of rigor.

Anybody here from JetBrains?

Re:Everything that uses configuration files should report wh... by catlifeonmars on Sunday June 25, 2023 @11:17AM (#36469108)
This should be provided by the PLS for the language, not by an IDE.