-
Notifications
You must be signed in to change notification settings - Fork 40.6k
feat(repeatString): add instruction to use loops for implementation rather than builtin method #460
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
Conversation
I'm hesitant on this one. I believe the intention of the exercise is to get learners to get more practice with using loops. The hint quite firmly suggests this, but I feel for the exercise's intent, if loops are what it wants the learner to practise, it would be better placed in the actual exercise instructions instead of the hints section. Basically saying that even though there is a built in string method for repeating strings, we want to practise loops so do it manually with loops instead. That way, they're also made aware of the string method. |
I've repurposed this PR |
…roject#460) (#1) Intent is to practise using loops rather than wrap the built-in `repeat` String method. Co-authored-by: Nikita Revenco <github.favoring288@simplelogin.fr>
…roject#460) Intent is to practise using loops rather than wrap the built-in `repeat` String method.
…roject#460) Intent is to practise using loops rather than wrap the built-in `repeat` String method.
There is a builtin method for accomplishing the same outcome, so I have updated the instructions as the point of the exercise is to practice loops.