I only learn when I do things, not when I hear how they work. I think the teacher has the right idea.
Yes, I do too, but the point they were trying to make is that "learning how to write code" is not the point of CS education, but only a side effect.
A million percent! I was so bad at Math in school. Which I primarily blame on the arbitrary way in which we were taught it. It wasn't until I was able to apply it to solving actual problems that it clicked.