← Back to context

Comment by digitaltrees

2 days ago

You care about code quality. Many don’t. I had someone tell me this week that a 6000 line class was ok because it was easier for the model to understand and that’s more important than human comprehension. And I get his point but that seems like a big risk to take.

and it's wrong. a 6000 line class is not easier for a model to understand. the same things that help humans also help agents. I find myself adding linters that must pass and the agent muss fix that limit file size, function length, function complexity, how many files in a directory. a little more work for the agent, but the codebase is healthier and the agents write fewer bugs.

  • I don't think the same things that help humans help agents. Simplicity helps humans, for agents parsing complexity is a breeze.

    Not saying code quality isn't important - it is. But I think what is described as quality code will change.