This is a Toot about code generation, and if any LLM-use annoys the crap out of ...

@nopatience@swecyb.com

This is a Toot about code generation, and if any LLM-use annoys the crap out of you, don't read further.

So I'm a daily user of code generation tools and one thing that is painfully obvious is that no matter how much prompting, guardrails, rules, contracts, dynamically loaded constraints for interfaces, abstractions, modules, classes etc etc.

You will NOT be escaping the fact that code generation will almost never fail to solve the problem you ask. BUT, with this massive fucking caveat... it will fail miserably at building well architected and designed system cohesion.

It will generate classes that solve things once, for a very specific purpose. It will invent API-endpoints in your REST interface that are entirely useless from a reuse perspective.

The more I look at the code, the more I realize how incredibly stupid the generation really is. And it only strengthens my opinion that no real system will, in the near term, come out of these generations that is ... well built. It will probably look as if solves your "problem", but behind the scenes it will be one of the shitties applications ever built.

So... it is insanely important to still understand code, understand how to design and build modular, reusable software components.

People who insist that code generation can be used without knowing how to code... well, they are wrong because they have not looked at the code. And no amount of prompting will get you to a state which will provide you a system that survives the long haul. No chance.

End of rant.