The problem with this article is that the first example is wrong, as in it compiles fine. I could even tell without running it that it would compile.
Therefore the article as a whole cannot be taken seriously, and reflecting that I stopped reading it immediately after.