The rest is then general design and archiceture, where LLMs really don't help much with. What they are really good for is to get an idea of possible options in spaces were you have little experience or to quickly explain and summarize specific solutions and their pros and cons. But I tried to make it pick a solution based on the constraints and even with many tries and careful descriptions, the results were really bad.
Then I use these validations both in the backend and frontend.
Does F# provide ability to display validation errors with good UX to users using your app? How does it know what user friendly error messages look like?
Okay very simple example prompt that will generate 100+ lines of code.
"Give CRUD example using shadcn, react-hook-form, zod, trpc to create an example of a TODO app"
Which programming language would be able to replace the UI at this level of quality and how the UI looks?
Now this is very basic example, and it's a "todo app" without existing project, but I find it can give me a lot various different 100+ lines of boilerplate, from charts to sql explorers, to much else.
Also most web app developers and especially juniors usually have terrible error, loading, validation handling, and SOTA seems far superior to that, handling those cases everytime with ease and most intuitive error messages.
It will patiently always do "isLoading", checks for error, etc.
What I meant is that this can be solved by a good language. But you would have to use F# (or another language with a feature like type providers) on the frontend.
But even TypeScript can infer types in many cases?
You have to generate those types as source code (like you basically do with the llm).
In F# and other languages, you can generate those types on the fly and use them. It can even go as far as describing errors with sql columns. Then, if there is any mismatch, the project won't compile. And if you add a new field, the code and validation will automatically work.
But eventually you get to a point where you've solved variations of the problem hundreds of times before, and it's just hours of time being burnt away writing it again with small adjustments.
It's like getting into making physical things with only a screwdriver and a hammer. Working with your hands on those little projects is fun. Then eventually you level up your skills and realize making massive things is much easier with a power drill and some automated equipment, and gives you time to focus on the design and intricacies of far more complicated projects. Though there are always those times where you just want to spend a weekend fiddling with basics for fun.