Hacker News new | ask | show | jobs
by Oxdev 4151 days ago
Looks like a pull request to fix that has been submitted and it's a naming convention in golang.

https://github.com/cdarwin/go-koans/pull/9

1 comments

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.
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.