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

Where are the hints? #4

Open
hippietrail opened this issue Aug 18, 2022 · 2 comments
Open

Where are the hints? #4

hippietrail opened this issue Aug 18, 2022 · 2 comments

Comments

@hippietrail
Copy link

Each exercise has the line:

// I DON'T NEED A HINT

But I can't find how to access the hints. Are there any hints, or is that not implemented yet?

In Rustlings I can type hint as a command to get a hint for the current exercise in its equivalent of the vr start interactive loop.

@ayakovlenko
Copy link
Owner

Hey Andrew,

I didn't implement hints yet. The project is still in a very raw state.

The initial idea was to request a hint by removing this line from a source file. This is unlike the behavior of Rustlings.

Now I'm thinking, maybe instead of deleting // I DON'T NEED A HINT line — show a hint when an inline // HINT comment is added anywhere in the file.

What do you think about this approach?

@hippietrail
Copy link
Author

I don't have a preference really. I've been doing Ziglings as well as Rustlings and I'm trying to remember how they implement hints. I think they just include them when they're there in comments in the exercise's source. If you haven't already seen Ziglings you might get some inspiration: https://github.com/ratfactor/ziglings

I didn't actually need hints for the exercises that currently exist but I'm very happy to see the project is still alive. I'm not very experienced with TypeScript but I'll try to post more feature requests if it will help the project break through.

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

Successfully merging a pull request may close this issue.

2 participants