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

Exercise: Mixed Juices is unclear #1877

Open
joshgoebel opened this issue Aug 24, 2022 · 0 comments
Open

Exercise: Mixed Juices is unclear #1877

joshgoebel opened this issue Aug 24, 2022 · 0 comments

Comments

@joshgoebel
Copy link
Contributor

joshgoebel commented Aug 24, 2022

Students are recommended to use a do-while but the instructions only specify that time is never 0, they do not ALSO specify that the list of drinks is never empty. Both this things would need to be true for a do-while solution.

The time left in the shift will always be greater than 0.

It's weird that the spec/instructions ONLY speaks about time and not the list of drinks... if both are guaranteed to be "non-zero" (to support do-while) I'd expect the instructions to be explicit about BOTH.

It's confusing that it's only explicit about the time.


I'd suggest we add something like:

The list of juices/drinks to prepare will never be empty.

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

1 participant