| ▲ | eithed an hour ago | |||||||||||||||||||||||||||||||
People complain about LLMs not respecting KISS, but fail to address why = LLMs being defensive and coding for situations that either do not happen or are unlikely to happen. That doesn't absolve you from deciding using your human brain if given change makes sense or doesn't. You can also tell LLMs to not program defensively. Same with any other acronyms - if you don't set up guardrails on when given principle should apply you'll get code that you can only complain about. | ||||||||||||||||||||||||||||||||
| ▲ | layer8 an hour ago | parent [-] | |||||||||||||||||||||||||||||||
> coding for situations that either do not happen or are unlikely to happen. Not coding for situations that “do not happen” is exactly what creates vulnerabilities. But I also don’t think that such code is the main source of complexity in LLM-generated code. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||