Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Anyone treating spec as the *only* source code?
2 points by etwigg on Sept 25, 2024 | hide | past | favorite | 3 comments
1. ask LLM to summarize a codebase into its implicit spec 2. ask LLM to generate codebase from the spec 3. starting now, version control the spec, treat the codebase as a compiled artifact

Has anybody tried building anything this way?



I'm very skeptical that an LLM can derive any meaningful spec from a non-trivial codebase.

Specifications describe the behavior of the system, but most of all it defines wanted outcomes and edge cases. This is hard.

I'd like to see the results if anyone can make this work! It would make my job orders of magnitude simpler.


How about an executable specification?


What’s the point of a specification? I thought it was to agree on things. If you have a specification that your LLM made up, why would your boss or your teammates care about it?




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

Search: