Alan Perlis: You think you know when you learn, are more sure when you can write, even more when you can teach, but certain when you can program.
That is pretty absurd. Find the most complex thing you have ever programmed and go teach it to someone. Just because you made it does not mean you can explain it. Further, while explaining there is a pretty good chance you will find some bugs.
Think about this. Who's the person who learns the most in life? Is it that teacher who had to explain it to the students? That person learned a lot. But the builder, if they're any good, learns more. When you build something, you can't learn something half-heartedly. You are trying to actually make it work in the real world, so it needs to make even more sense to you than it made to your teacher.