Remix.run Logo
wesselbindt 6 hours ago

I'm still confused as to why folks don't just write executable specs.

mike_hearn 4 hours ago | parent | next [-]

Some of us do! That's called Gherkin.

eterm 6 hours ago | parent | prev | next [-]

Ambiguity is the grease that keeps everything turning.

cenamus 6 hours ago | parent | prev | next [-]

So basically tests?

MoreQARespect 6 hours ago | parent [-]

Yes, except a test can be turing complete - i.e. code.

An executable spec like gherkin or hitchstory is config - it has no loops or conditionals. There are a number of rarely recognized benefits to this.

carlbarrdahl 6 hours ago | parent | prev | next [-]

Could you expand on this?

booi 6 hours ago | parent [-]

code

arikrahman 6 hours ago | parent [-]

Literate programming would provide specs and code instead of working backwards from hard coded functions to figure out specs.

cassianoleal 4 hours ago | parent [-]

> working backwards from hard coded functions to figure out specs.

People do that? Actual professionals?

fudgeonastick 6 hours ago | parent | prev [-]

If you're confused, and have tried Opus for coding, I'm keen to hear what problems or workflows it's not good at.

If you're genuinely confused, and haven't tried Opus for coding, then it's not surprising you're confused!

It is also okay for you to just not like the idea of LLMs for coding (but say that!).

wiseowise 5 hours ago | parent | next [-]

I’m using Opus 4.6 and I’m so confused! Maybe I should try Opus 4.7, which is almost twice as expensive to get some clarity (but not too much, I need to save money for Opus 4.8)?

oytis 6 hours ago | parent | prev [-]

That's what the article is about - overcoming problems with AI cooding tools using specs in Yaml. If we've got that far, it might be better to write specs in a proper programming language instead and skip the AI layer altogether

adi_kurian 5 hours ago | parent [-]

Think the idea is to still get monumental acceleration between fancy YAML specs (bullet points with some indentation that an intelligent technical manager could write) and production ready code.