Remix.run Logo
▲ Ekaros an hour ago

What I have heard from AI it is anything but KISS... More features and more code as fast as machinelly possible.

▲eithed 14 minutes ago | parent | next [-]

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 7 minutes 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.

▲aruametello an hour ago | parent | prev | next [-]

> ... More features and more code as fast as machinelly possible.

i am going to quote that a lot...

▲Imustaskforhelp an hour ago | parent | prev [-]

Depends on your incentives, most people and companies are measuring Lines of codes and features as the metric so ofc it will increase it, but AI can create small KISS applications. It might have a little difficulties in doing so sometimes because it sometimes likes to overengineer things but I have to wonder how much of it is because it is RLHF'd to solve questions at any costs in terms of lines of code rather than training it in solving it in KISS principles. Also I wonder how AI will perform if we explicitly treat KISS as the only principle and have checks running on it and have it discard all the code which wouldn't follow KISS principle if it doesn't follow the principle.

▲layer8 4 minutes ago | parent | next [-]

> have checks running on it

We don’t have effective objective measures of what would constitute KISS.

▲sam_lowry_ an hour ago | parent | prev [-]

Dunno about your company, mine measures in lines of code removed.