-
-
Notifications
You must be signed in to change notification settings - Fork 982
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
Ep 4. Tip "Redirecting to the same file" -- to prevent following along mistake #1375
Comments
Am in favor of this, see https://github.com/swcarpentry/shell-novice/pull/1363/files though there is a callout with the information #1363 Maybe it is better to emphasize that one can lose data, though some participants may want a deeper explanation of why. |
I am a bit confused (please understand I am still a novice at Git and Github) -- I think the PR linked above is a good solution. I see the PR is closed, but I do not see the change in the episode. Was the change rejected? |
Okay, I made some progress navigating Github, and I see that the PR was rejected. I think the PR could introduce a little protection to support learners and instructors in learning the pitfall while also being able to continue follow along with the commands presented in the episode. |
There is value in showing this (what not to do), because it differs from variable assignment which some learners might be applying to their mental model of what's going on in the shell. Reassigning to a file is different to However, I think a better solution is to remind learners how they generated the
This is less cumbersome and more realistic than making a copy of the file in order to make a deliberate mistake. |
@emcaulay Does the suggestion seem ok to you? Would you like to make a pull request implementing this change? |
https://swcarpentry.github.io/shell-novice/04-pipefilter/index.html#redirecting-to-the-same-file
I am writing this issue to make it easier to discuss.
Why should a revision be considered?
Pedagogy -- the flow of the Carpentries lessons is to provide "follow along" examples. However, in this section of the lesson (tip: redirecting to the same file) gives a demonstration of what not to do, and if the learner follows along then they are hampered from continuing the lesson.
A possible revision
The community member who initially raised this concern suggested adding a step of making a new copy of the file before executing the bad example code. e.g.,
NB: This issue is a re-working of a previous issue to provide more actionable information. (Revised from #1372)
Background
The original feedback came from a Carpentries community member through the Carpentries Core team, so there is no ability to discuss further with the originator of this idea. I happened to notice the title of the issue and was intrigued to read through the issue. Once I read the comment, I could see the value of the feedback, but realized some work needed to be done to figure out what episode of the lesson the commenter was referring to. Once I did that work, I thought it would be clearer and easier to start a new issue.
The text was updated successfully, but these errors were encountered: