Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Does that even require an LLM? It should be possible through traditional static analysis.


> It should be possible through traditional static analysis

Even better/worse, could do it with regex on text streams.


There'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.


Everything requires an LLM nowadays.


Especially if you want to get funding




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: