| ▲ | UncleMeat 2 days ago | |||||||
Isn't this a meaningless example? Formatters already exist. Generating code that doesn't need to be formatted is exactly the same as generating code and then formatting it. I care about the norms in my codebase that can't be automatically enforced by machine. How is state managed? How are end-to-end tests written to minimize change detectors? When is it appropriate to log something? | ||||||||
| ▲ | eterm 2 days ago | parent | next [-] | |||||||
Here's an example: We have some tests in "GIVEN WHEN THEN" style, and others in other styles. Opus will try to match each style of testing by the project it is in by reading adjacent tests. | ||||||||
| ||||||||
| ▲ | gck1 a day ago | parent | prev | next [-] | |||||||
The second part is what I'd also like to have. But I think it should be doable. You can tell it how YOU want the state to be managed and then have it write a custom "linter" that makes the check deterministic. I haven't tried this myself, but claude did create some custom clippy scripts in rust when I wanted to enforce something that isn't automatically enforced by anything out there. | ||||||||
| ||||||||
| ▲ | scotty79 2 days ago | parent | prev [-] | |||||||
Memes write themselves. "AI has X" "We have X at home" "X at home: x" | ||||||||