-
Notifications
You must be signed in to change notification settings - Fork 12
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
Using Classes problem #157
Comments
Good point. This question bugs me a bit anyway; I don't think getters are good Immutable attributes like this (strings, ints etc) should really just be On 27 March 2015 at 10:09, Peter Robinson [email protected] wrote:
|
I agree that, in principle, @Property is the right way to go but, as you say, it's a bit advanced for an intro course. |
Yeah. It would be nice to have a proper discussion about when things On 27 March 2015 at 10:22, Peter Robinson [email protected] wrote:
|
I always dealt with it by reminding myself that many of these students will In the past, whenever students would ask a question and/or express Keep in mind that many students will interpret the _ as part of the Anyway, that's beside the point of this issue (namely, an inaccurate error On Fri, 27 Mar 2015 11:28 Sean Purdon [email protected] wrote:
|
If a student writes:
then there is an error "You need to print the person's name in print_friend_info"
The error should really be about not using the getters such as person.get_name()
The text was updated successfully, but these errors were encountered: