I found myself in a couple of those kinds of classes in my mid 20's. In one of them, I went full-on class clown. In the other, I spent most of my time correcting the instructor's bad code so we could get on with it.