Hacker News new | ask | show | jobs
by sagichmal 4151 days ago
It's not just the package name. It's the definition and use of assert, the strange __typenames__, the overall approach. In my opinion, learning the language this way would imbue the student with awkward and incorrect intuitions about the language and its idioms.
1 comments

My interpretation is that the __typenames__ are merely there as placeholders so the program will compile, but fail at runtime during the tests. It's a tad odd, but the user is meant to replace the __typenames__ with their own values to make the tests pass. While doing so the user would be reading all of the code, and hopefully wind up grokking it.
I feel a lot of people in this thread are not grokking the concept of the post itself.

To add to what you said, the asserts are only there to test your knowledge of the correct value of the variable.