Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Left/Right "Hints" giving away the answer #195

Open
membranepotential opened this issue Apr 29, 2017 · 1 comment
Open

Left/Right "Hints" giving away the answer #195

membranepotential opened this issue Apr 29, 2017 · 1 comment

Comments

@membranepotential
Copy link
Contributor

I love the koans and the app =)

However, I believe showing left/right values when an assertion fails gives away to much of the answer. For example:

The ~s sigil is a different way of expressing string literals
Assertion failed in lib/koans/11_sigils.ex:7
~s"This is a string" == "Hello"

left:  "This is a string"
right: "Hello"

I perceive koans as problems that come without any hints and can only be solved by thinking about them for days in a dark chamber isolated from civilization. Giving those hints makes it too easy sometimes.

Thank you for the good work!
Cheers =)

@krlsdu
Copy link

krlsdu commented Aug 11, 2018

Good point! @membranepotential , maybe not necessarily a phrase, but a link to respective elixir documentation.
The thread of this approach it is maintains the link consistent because the elixir documentation can change, and check this on the test is really hard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants