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

> then we must formalize the spec in some other way.

For most projects, the spec is formalized in formal natural language (like any other spec in other professions) and that is mostly fine.

If you want your unit tests to be the spec, as I wrote in https://news.ycombinator.com/item?id=46667964, there would be quite A LOT of them needed. I rather learn to write proofs, then try to exhaustively list all possible combinations of a (near) infinite number of input/output combinations. Unit-tests are simply the wrong tool, because they imply taking excerpts from the library of all possible books. I don't think that is what people mean with e.g. TDD.

What the cartoon is about is that any formal(-enough) way to describe program behaviour will just be yet another programming tool/language. If you have some novel way of program specification, someone will write a compiler and then we might use it, but it will still be programming and LLMs ain't that.





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

Search: