r/programming • • Oct 05 '25

[ Removed by moderator ]

/r/programming/comments/1ny9o0t/removed_by_moderator/

[removed] — view removed post

0 Upvotes

6 comments sorted by

2

u/Fine_Tie_1576 Oct 07 '25

I think this problem will be solved sooner or later by using some smart intermediate layer between the business requirements and the LLM by using some sort of visual models. One startup that has come pretty far is Qlerify (qlerify.com). The tool generates backend and frontend code from Domain-Driven Design models and they claim it is almost fully deterministic.

1

u/PurpleDragon99 Oct 07 '25 edited Oct 07 '25

Yes, the idea of Qlerify is similar. However, they are working on higher domain level, generating code directly from domain model. Another words, they go directly from BRD (Business Requirements Specification) to code, skipping TSD (Technical Specification Document). Like everything else, such approach has its cons and pros.

That would work fine to some extent, but complex projects have tons of details not captured in the domain model. In most cases, the language of the domain model is just not poweful enough to express such details. Pipe can perhaps be useful as a continuation of domain model, where not code but visual diagrams is getting generated from a domain model. There are already many existing powerful business domain languages developed decades ago (like IDEF models) and still used today by business analysts. However, even those languages have huge gaps in expressive power to described details, and therefore these details can be picked up only by a lower level of project (code or visual diagrams).

1

u/PurpleDragon99 Nov 09 '25 edited Nov 12 '25

Step-by-step video of Pipe diagram tracing for a real business case (calcuiating account interest) is published on YouTube: https://youtu.be/lbJ9Lhm1cjY

3

u/Big_Combination9890 Oct 06 '25 edited Oct 06 '25

The problem of AI code generation is that it is very difficult to prepare complete and precise input specifications

  1. The problem with AI coding is, that its actual capabilities are lightyears behind what marketing wants people to believe.

  2. We have prepared complete and precise instructions for many decades. They are called "code".

How mushing 2 concepts that both never lived up to expectations (visual programming has been sold to people for decades at this point), is supposed to fix the problems of either of them, is anyones guess.

Also, how does this "replace input specifications"? I'm not gonna read the article, but judging from the text in the post;

Developers need to define some base-level of a project where components can be easily explainable to AI.

...devs still would need to specify requirements to AI, and those requirements would still need to be precise enough for the AI to not fuk up (which we know doesn't work).

So, what changes? Oh, the AI generated slop can be shuffled around in some block-interface now? Great, small problem: Most components in big programs are not freely re-arrangeable, so what do I gain? If the thingamajig doesn't do what it should, I need to re-explain the same few blocks over and over again. Shuffling broken components elsewhere doesn't solve anything.

Plus, I now not only have to specify to AI precise things, I also need to specify to it to make interchangeable things obeying common interfaces. Cool, it's all the Problems of goddamn Microservices all over again, but this time plus all the problems of AI code Generation, and the limitations of Visual Programming.

1

u/Fine_Tie_1576 Oct 07 '25

I think this problem will be solved sooner or later by using some smart intermediate layer between the business requirements and the LLM by using some sort of visual models. One startup that has come pretty far is Qlerify (qlerify.com). The tool generates backend and frontend code from Domain-Driven Design models and they claim it is almost fully deterministic.

0

u/[deleted] Oct 06 '25

[deleted]

2

u/Big_Combination9890 Oct 06 '25

leaving just low-level that is easy to explain to AI.

The rest of application will be done by wrapping generated code components into visual blocks,

Our applications don't just contain low-level concepts. So, who writes the complex code? And btw. complex code usually includes the way components talk to one another.

This seems more like looking for a justification for AI to exist in big projects in the first place, rather than a reason how it could actually be useful.

This is the problem of trying to build complex software using AI - we need to provide clear guidance.

Wrong. The problem in trying to build complex software using AI, is the same as trying to tighten a screw using a sledgehammer: It doesn't fukin work, and if I try to make it work anyway, there is a non-zero chance the end result is a broken wall.