跳到主要内容How do I stop Claude (and other LLMs) from doing this - handling edge cases that are impossible and bloating the code.
What I've tried already:
- "don't handle impossible edge cases"
- "if you can think of an impossible edge cases - assert instead of handling it".
It just keeps