I think Calvin, and kids like Calvin, learn more when fighting against the school system than when cooperating with it. Opposition and even hatred of school keep them mentally active and engaged, allowing them to learn about things they are truly interested in.
Or, of course, Roald Dahl and his uncle.