by Krei-se · 1mo ago · 0 comments
- You need to have a mental model to grow an idea
- When a pattern is known you can use a library!
- When a pattern is not known AI will make stuff up
No matter how "good" coding with an AI will become there is no way you get around learning, having someone understand what's going on and take responsibility.
I'm fine with formal checking and fuzzing or getting hints where a bug might come from - but these are iterations on tools we used before like a debugger, strict types, functional programming and well fuzzing.
I tried to have an AI iterate on a step i don't fully understand yet and i always regretted it. Highly interconnected projects will grind to a halt until you do learn.
You can check with people doing highly specced software in the medical domain that even with very good specs there is ambiguity in natural language thus it can never be the source of reliable and manageable software.
However - i read about some smart guys in the 40s or so encountering the need for a formal language to tell a computer what to do with 0 ambiguity and i think they called it a "programming language"
I had to accept this one too even for pretty simple things. I had an LLM wire up a neovim connection handler for me without bothering to read the libraries docs or neovims RPC spec and I completely regretted it. You would thing such a small piece would be fine but I couldn't work on it and had to rip it out and rewrite it, and reading the AIs reference code actually got me more confused than anything.
I've found the sweet spot for me is just writing code and promoting an AI whenever I have a question or if I'm not sure the code will do what I think. When I hit a point and I groan about doing something, if it's small and I understand what needs to happen already I will ask the LLM I've been prompting already to do it. Usually by that point it's already gotten enough context from the back and forth on my questions or me explaining assumptions it got wrong when reviewing my code.
Personally, I love using AI! It speeds up my development a lot and over the past year, it's got incredibly good at writing code. It's still not comparable to what I'd manually do though, but i can make it work.
The big caveat is, it doesnt know what's good or bad; it doesn't know what's appropriate or not; it has no opinion or experience. If I'm building a system, I have to design it and try to understand what the reqs are and convert that into a code spec. Programming languages are great because the process of translating those natural language thoughts and ideas constantly hits edge cases that force a person to rework their spec and re-assess their decisions and assumptions. That is what engineering is.
Ai just make some stuff up when what you told it was unclear or ambiguous due to the natural language used as input. You can't just offload that thought process to AI because, quite frankly, most of the time, you dont have a very well defined, formal idea of what you want. It's therefore hilarious to hear vibe coders go: "oh i just prompted it to make a game for me!".