The speaker of "When I Heard the Learn'd Astronomer" prefers to learn about nature by experiencing it directly.
He leaves his class to go out and look at the stars, because he thinks this method is better to learn such things than listen to a boring lecture.