2 ms·
If you care about code quality you should be steering your LLM towards generating high quality code rather than writing just 'more code' though. What's exhausti
by onion2k 8mo ago
If you care about code quality you should be steering your LLM towards generating high quality code rather than writing just 'more code' though. What's exhausting is believing you care about high quality code, then assuming the only way to get high quality code from an LLM is to get it to write lots of low quality code that you have to fix yourself.
LLMs will do pretty much exactly what you tell them, and if you don't tell them something they'll make up something based on what they've been trained to do. If you have rules for what good code looks like, and those are a higher bar than 'just what's in the training data' then you need to build a clear context and write an unambiguous prompt that gets you what you want. That's a lot of work once to build a good agent or skill, but then the output will be much better.
- Frieren 8mo ago> write an unambiguous prompt That's an oxymoron. Prompts by definition are ambiguous otherwise you will be writing code.
- lelanthran 8mo ago> LLMs will do pretty much exactly what you tell them That bit is quiet funny :-)