Skip to content

"method", "attribute", "function", etc #65

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

Closed
trevorcampbell opened this issue Dec 19, 2022 · 2 comments · Fixed by #304
Closed

"method", "attribute", "function", etc #65

trevorcampbell opened this issue Dec 19, 2022 · 2 comments · Fixed by #304
Labels
1st edition Planned for inclusion in 1st print edition enhancement New feature or request low-priority

Comments

@trevorcampbell
Copy link
Contributor

At some point (once the major rounds of polish are done), we should make a decision on:

  • what convention we want for using the terms method, function, attribute, object, member, etc
  • when we introduce that explicitly (do we just gloss over it at the beginning without explaining and then introduce later explicitly? do we introduce explicitly when we first mention? etc)

This is definitely a low-priority item for after the first run in the Jan 2023 semester.

@joelostblom
Copy link
Contributor

I was worried using the term method in the textbook because I think we never properly introduce it, but going through the worksheets I noticed that there is a mention in the into worksheet:

The upper method we used here is different from the functions we used previously (e.g. print). This method is called using the dot notation (string.upper()), because this method only works for a particular kind of object that they were designed to work for. Here the upper method was written to only work with string objects. print function, however, was written to work with many kinds of objects, therefore, we don't use the dot notation.

@trevorcampbell trevorcampbell added the 1st edition Planned for inclusion in 1st print edition label Sep 17, 2023
@trevorcampbell
Copy link
Contributor Author

See also #243

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1st edition Planned for inclusion in 1st print edition enhancement New feature or request low-priority
Projects
None yet
2 participants