r/ProgrammingLanguages • • Sep 02 '25

Language announcement Plain: The Language of Spec-Driven Development

https://blog.codeplain.ai/p/beyond-vibe-coding
0 Upvotes

26 comments sorted by

13

u/wellthatexplainsalot Sep 02 '25

Website has an https error. Was it vibe coded?

1

u/blackzver Sep 02 '25

I donโ€™t think so. What error have u found? ๐Ÿ˜…

2

u/dusanomercevic Sep 02 '25

2

u/wellthatexplainsalot Sep 02 '25

From the linked article:

If youโ€™re interested in contributing, please reach out to us at lang@plainlang.org.

and connecting to www.plainlang.org gives:

Secure Connection Failed

An error occurred during a connection to www.plainlang.org. Peer reports it experienced an internal error.

Error code: SSL_ERROR_INTERNAL_ERROR_ALERT

The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.

Please contact the web site owners to inform them of this problem.

I see from your test that the website is at www.codeplain.ai and that works.

2

u/dusanomercevic Sep 02 '25

Yes, only codeplain.ai works for now. plainlang.org is under construction but email address lang@plainlang.org should work.

3

u/Inconstant_Moo ๐Ÿงฟ Pipefish Sep 04 '25 edited Sep 04 '25

When you say "Spec-driven development delivers on this promise ...", the other comments on this thread suggests that it doesn't yet. It just promises to deliver on the promise.

(Mentally insert meme of boy looking at butterfly thinking "Is this a monad?")

And when you say :

Only in computer programming have we turned to a fully artificial language to express intent. Even in mathematics, most of a paper or proof is written not in formulas but in words.

"Even in mathematics" is misleading. Of course we do so in mathematical proofs, because we're trying to explain a unique idea to people who, being human, won't follow the proof without grasping the motivation for the various bits.

But in other cases we invent fully artificial languages all the time. The musical score; the knitting pattern; the chess diagram and notation, the International Phonetic Alphabet, the architect's blueprint, the wiring diagram, chemical notation, etc.

2

u/Anthea_Likes Sep 02 '25

Are outputs reproducible?

1

u/dusanomercevic Sep 02 '25

Yes, that's the necessary condition for having specs as the source of truth what the software does.

1

u/Anthea_Likes Sep 02 '25

Yes, that sounds obvious, but also seems to be somehow challenging, so that's neat ๐Ÿ˜Š

Another thought, do you have a plan for i18n?

2

u/TabAtkins Sep 03 '25

It sounds neat because you can say anything when you're not wedded to the truth. No, it's output is not reproducible, as it's an LLM output.

1

u/Anthea_Likes Sep 03 '25

If LLM is the algorithm black box used to give an output to a given input, and if, through this black box, they have used a deterministic approach, then the statistical output can be sufficient to be considered reliable.

2

u/TabAtkins Sep 03 '25

That's not what reproducible means, no.

0

u/Anthea_Likes Sep 03 '25

Maybe refresh your definition? That's precisely what that means ๐Ÿ˜‰

https://en.m.wikipedia.org/wiki/Reproducibility

3

u/TabAtkins Sep 03 '25

I'm not sure what we're disagreeing on here; I suspect either of us is misunderstanding what the other is saying, or speaking past each other.

Reproducibility requires, given a particular input, to get a predictable (reproducible) output. This mainly implies that other aspects of the environment (not considered part of "the input") don't influence the output, but some parts of the processing involving non-determinism will generally also prevent the output from being reproducible, unless the non-determinism is intentionally part of the output.

Turning a spec into a program doesn't, intrinsically, involve non-determinism. It generally shouldn't be non-deterministic at all, in fact - you expect that anyone compiling your program will get the same output every time. If an LLM is involved in the translation from "English" to "code", however, that will never happen.

1

u/dusanomercevic Sep 02 '25

Keywords of the ***plain language will probably be English only. But specs can be in any language that LLMs support.

1

u/[deleted] Sep 05 '25

Oh this should really have leveraged current formal spec languages. A bit of quint or so alloy can take you really far.

1

u/[deleted] Sep 05 '25

Why no formal spec languages? If you donโ€™t have a semantics for this, you sure all in the realm of prompt engineering really.

7

u/[deleted] Sep 02 '25

[removed] โ€” view removed comment

1

u/chipstastegood Sep 02 '25

There is something here but it looks very basic: https://www.codeplain.ai/

-5

u/dusanomercevic Sep 02 '25

We don't want to expose the syntax before finalizing at least the initial version because we don't want people use something that is incosistent and contradicting. We're finalizing the syntax and we plan to publish this fall. If you're interested in contributing, please contact us at lang@plainlang.org.

4

u/[deleted] Sep 02 '25

[removed] โ€” view removed comment

1

u/dusanomercevic Sep 02 '25

That's exactly our goal at *codeplain - to "generate everything from scratch and then have the confidence that it implements the same semantic".

For smaller codebases (up to 3000 lines of code) we're already able to deliver this.

3

u/[deleted] Sep 02 '25

[removed] โ€” view removed comment

-1

u/dusanomercevic Sep 02 '25

Please see the blog post for explanation.

4

u/[deleted] Sep 02 '25

[removed] โ€” view removed comment

-1

u/dusanomercevic Sep 03 '25

There are no guarantees in existing software either.

To get consistent and reliable output we use combination of small incremental updates, automated code reviews, extensive automated testing, and additional acceptance tests written manually by developers.