Skip to content

Conversation

katrinabrock
Copy link

If this pull request addresses an open issue on the repository, please add 'Closes #NN' below, where NN is the issue number.

Closes #370

Please briefly summarise the changes made in the pull request, and the reason(s) for making these changes.

As requested in #370 , this change warns users about of pass-by-reference when they first learn about the concept of assignment.

In order avoid introducing and fully explaining the concepts of objects, pass-by-reference, and mutable/immutable (as @alee does beautifully in this comment), I use the term "links inside [the object]" to describe mutable objects with mutable references. Hopefully this describes the behavior without saying anything technically incorrect or getting too in-the-weeds for Episode 3. Maybe some of this more comprehensive explanation could be added to Episode 11, since the concept is introduced there but not thoroughly explained.

If any relevant discussions have taken place elsewhere, please provide links to these.

I used #499 as a basis and kept the example and structure, but reworded completely.

For more guidance on how to contribute changes to a Carpentries project, please review the Contributing Guide and Code of Conduct.

Please keep in mind that lesson Maintainers are volunteers and it may be some time before they can respond to your contribution. Although not all contributions can be incorporated into the lesson materials, we appreciate your time and effort to improve the curriculum. If you have any questions about the lesson maintenance process or would like to volunteer your time as a contribution reviewer, please contact The Carpentries Team at [email protected].

Copy link

github-actions bot commented Aug 7, 2025

🆗 Pre-flight checks passed 😃

This pull request has been checked and contains no modified workflow files, spoofing, or invalid commits.

It should be safe to Approve and Run the workflows that need maintainer approval.

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 this pull request may close these issues.

Variables copied by reference not mentioned in Lesson 3
2 participants