| ▲ | normie3000 2 hours ago | |
> static code analysis which by definition does not find runtime bugs I'm not sure if there's some subtlety of language here, but from my experience of javascript linting, it can often prevent runtime problems caused by things like variable scoping, unhandled exceptions in promises, misuse of functions etc. I've also caught security issues in Java with static analysis. | ||
| ▲ | aeneas_ory 25 minutes ago | parent [-] | |
The usefulness of using static code analysis (strict type systems, linting) versus not using static code analysis is out of the question. Specifically JavaScript which does not have a strict type system benefits greatly from using static code analysis. But the author claims that you can catch runtime bugs by letting the LLM create custom lint rules, which is hyperbole at least and wrong at most and giving developers a false sense of security at worst. | ||