top | item 45727226

(no title)

pcarolan | 4 months ago

I mostly agree, but why stop at tests? Shouldn’t it be spec driven development? Then neither the code or the language matter. Wouldn’t user stories and requirements à la bdd (see cucumber) be the right abstraction?

discuss

order

int_19h|4 months ago

Natural language is too ambiguous for this, which makes it impossible to automatically verify

What you need is indeed spec-driven development, but specs need to be written in some kind of language that allows for more formal verification. Something like https://en.wikipedia.org/wiki/Design_by_contract, basically.

It is extremely ironic that, instead, the two languages that LLMs are the most proficient in - and thus the ones most heavily used for AI coding - are JavaScript and Python...

__MatrixMan__|4 months ago

Maybe one day. I find myself doing plenty of course correction at the test level. Safely zooming out doesn't feel imminent.

reenorap|4 months ago

I don't think you're wrong but I feel like there's a big bridge between the spec and the code. I think the tests are the part that will be able to give the AI enough context to "get it right" quicker.

It's sort of like a director telling an AI the high level plot of a movie, vs giving an AI the actual storyboards. The storyboards will better capture the vision of the director vs just a high level plot description, in my opinion.

gmd63|4 months ago

Why stop there? Whichever shareholders flood the datacenter with the most electrical signals get the most profits.