▲ | thecupisblue 2 days ago | |||||||||||||||||||
Great video! Even more, shows a few things - how good it is with such a niche language but also exposes some direct flaws. First off, Rust represents quite a small part of the training dataset (last I checked it was under 1% of code dataset) in most public sets, so it's got waaay less training then other languages like TS or Java. You added 2 solid features, backed with tests and documentation and nice commit messages. 80% of devs would not deliver this in 2.5 hours. Second, there was a lot of time/token waste messing around with git and git messages. Few tips I noticed that could help you in the workflow: #1: Add a subagent for git that knows your style, so you don't poison direct claude context and spend less tokens/time fighting it. #2: Claude has hooks, if your favorite language has a formatter like rust fmt, just use hooks to run rust fmt and similar. #3: Limit what they test, as most LLM models tend to write overeager tests, including testing if "the field you set as null is null", wasting tokens. #5: Saying "max 50 characters title" doesn't really mean anything to the LLM. They have no inherent ability to count, so you are relying on probability, which is quite low since your context is quite filled at this point. If they want to count the line length, they also have to use external tools. This is an inherent LLM design issue and discussing it with an LLM doesn't get you anywhere really. | ||||||||||||||||||||
▲ | newswasboring 2 days ago | parent | next [-] | |||||||||||||||||||
> #3: Limit what they test, as most LLM models tend to write overeager tests, including testing if "the field you set as null is null", wasting tokens. Heh, I write this for some production code too (python). I guess because python is not typed, I'm testing if my pydantic implementation works. | ||||||||||||||||||||
▲ | komali2 2 days ago | parent | prev [-] | |||||||||||||||||||
> #1: Add a subagent for git that knows your style, so you don't poison direct claude context and spend less tokens/time fighting it. I've not heard of this for, what does this mean practically? Some kind of invocation in claude? Opening another claude window? | ||||||||||||||||||||
|