I agree with the thrust of the blog post but honestly most of the increased line count comes from the fact that LLMs have been whipped into leaving moronic comments like
// Create a copy of the state
const stateCopy = copyState(state);
// Create a copy of the state
const stateCopy = copyState(state);