logoalt Hacker News

Ekaros • today at 1:02 PM • 4 replies • view on HN

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


Replies

aruametello • today at 1:30 PM

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

i am going to quote that a lot...

➕ show 1 reply
simpaticoder • today at 4:46 PM

It doesn't have to be that way. You can use llms to greatly improve the quality of the code. You do this by focusing on one part of the design use the LLM to explore alternatives, use it to poke holes in what you have. I think the engineering cultures that embrace this way of using AI will far outperform everyone else in the long term.

➕ show 1 reply
eithed • today at 2:16 PM

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.

➕ show 2 replies
Imustaskforhelp • today at 1:05 PM

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.

➕ show 2 replies