-
-
Notifications
You must be signed in to change notification settings - Fork 398
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
Newsletter task instruction confusing #1499
Comments
The sentence "make sure to do it as soon as the email is sent." refers to the closest preceding instruction which is "write the email address to the log file, followed by a new line". To make this clearer, we could replace "to do it" with a repetition of the previous instruction, for example:
|
Yes, that's exactly why we got confused! Maybe only the last modification is necessary as it's what we could have needed to understand at which step we were expected to open/close the logfile. |
elixir/exercises/concept/newsletter/.docs/instructions.md
Line 47 in 587f44e
Hey! I just did this exercise with a friend and we got stuck as we were confused by the task instruction and what the tests were checking.
The task ask us to log the email address when the passed function return
:ok
.To do it we're instructed to open and close the logfile and to
Make sure to do it as soon as the email is sent.
So we both understood by that, that we should enumerate the email list and try to send the email and thus logging it on success by opening and closing the logfile on each one of them.
But to do that we used the mode
:append
on the File.open to prevent the overwrite, which was highlighted as an essential issue when submitting the exercise. Also we had to manually reset the logfile on the first operation of this function task as the test 14 was checking that.So I think either some information are missing in the instruction of this task or the part
Make sure to do it as soon as the email is sent
is a bad formulation of what it's expected.The text was updated successfully, but these errors were encountered: