Notice I said exercise not good coding there is a difference, I would never in a million years code like that, but I may do it just for fun to see how I could do it a different way.
I would Never use it or release it though.
Most people get stuck on what in the end is an easy task. This is because they are use to having all the functions or source displayed for them. They do not understand the concepts of how the function works. In the exercise that hes performing hes making a harder replacement for something simple, in the process of doing this hopefully he is gaining some experience in how to approach a problem and solve it(not having the answers just given to him). That is why this is a good exercise. I do logic and math puzzles for a hobby though so maybe thats why I can appreciate this.
I like you would also puke if I actually seen someone releasing that as source :P.
It's just a practice exercise and thats all it is.
Not flaming(I actually respect you as a programmer) but whats with the wrong again? Where else have you shown me to be wrong? Not that I have not been wrong on more than a few occasions, I just do not remember you pointing them out to me. Which if I am I wish you would so that I can learn from my mistakes

. On this subject though neither of us are wrong it is an opinion on how to learn. Now if it was the actual code he was using to perform this than yeah it would be pointless and you would have no argument from me.
In closing I would like to add that you know how to program, you know how to logically come up with a solution to a problem based on your understanding of the concepts. Some people don't so they practice. I judge, myself to be a rather good artist. So if I were to use your thinking I would see it as pointless for some one to practice drawing doodles.