3 ms·
On the bright side, turning bare exceptions into types exceptions is the kind of thing an llm is great for. It's also basically zero cost for new code. On the
by sdenton4 2y ago
On the bright side, turning bare exceptions into types exceptions is the kind of thing an llm is great for. It's also basically zero cost for new code.
On the other hand, I completely agree that it's not worth a breaking change.
- relaxing 2y agoDoes that even require an LLM? It should be possible through traditional static analysis.
- pansa2 2y agoEverything requires an LLM nowadays.
- DrillShopper 2y agoEspecially if you want to get funding
- diggan 2y ago> It should be possible through traditional static analysis Even better/worse, could do it with regex on text streams.
- sdenton4 2y agoThere's some space for interpretation in picking exactly which exception type to use depending on context (value error vs runtime error vs not implemented error), and there may be package specific exceptions available.