Skip to content

Conversation

rwdougla
Copy link
Contributor

Issue #38

@vulder vulder self-requested a review July 23, 2021 15:18
_Why is this important?_
_Why do we want to learn/teach this topic?_

The fundamental element for code-reuse is a function. For functions to be
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say "code modularization". Many functions are only called once, so there is often no reuse.

_The next word should be an action word and testable in an exam._
_Max 5 items._

A student should be able to:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sounds more like an outcome for general "function calling" topic, rather than the specialized "calling by value" topic.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is "function calling". But we distinguish the topic name from "calling by reference" as we expect this to be more foundational than understanding "call by reference" as the later is more complex in grammar

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, that depends on the meaning of is. The title of this topic is "passing by value". Parameter type & count agreement is more basic, and presumably will use examples where non-variable expressions are used, meaning f(1.0,"foobar"), just to avoid the value/reference distinction.

Copy link
Contributor

@VictorEijkhout VictorEijkhout left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some small comments.

@vulder vulder added the Tentatively ready Ready for a final review in SG20 label Apr 24, 2022
@vulder vulder merged commit ec0c42a into cplusplus:master Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tentatively ready Ready for a final review in SG20
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants