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

The point of coding is not to tell a machine what to do.

The point of coding is to remove ambiguity from the specs.

"Code" is unambiguous, deterministic and testable language -- something no human language is (or wants to be).

LLMs today make many implementation mistakes where they confuse one system with another, assume some SQL commands are available in a given SQL engine when they aren't, etc. It's possible that these mistakes will be reduced to almost zero in the future.

But there is a whole other class of mistakes that cannot be solved by code generation -- even less so if there's nobody left capable of reading the generated code. It's when the LLM misunderstands the question, and/or when the requirements aren't even clear in the head of the person writing the question.

I sometimes try to use LLMs like this: I state a problem, a proposed approach, and ask the LLM to shoot holes in the solution. For now, they all fail miserably at this. They recite "corner cases" that don't have much or anything to do with the problem.

Only coding the happy path is a recipe for unsolvable bugs and eventually, catastrophe.



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

Search: