-
Notifications
You must be signed in to change notification settings - Fork 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
Confusion over "mutators" in section 4 #13
Comments
I was thinking of enhancing this section by replacing it with: @MattOates would it become less confusing? |
Looks more or less right, depending on how pedantic you want to get; like "The number 3 [...] will never change over time" is not quite true for Rakudo:
The references explanation is very different from how all that stuff fits into my brain—not implying that it's wrong, just different. I don't think in terms of mutable-immutable references (that's reminiscent of Rust's ownership), but in terms of containers. The one thing I do see as potential for confusion is sentence "Trying to change the value of a constant leads to an error" since it implies the
A |
@zoffixznet I think you're right. This whole mutable/immutable feels alien to Perl 6. I should find a way to explain containers in a friendly manner to people new to Perl 6. Thank you for your feedback. |
I suggest renaming the 4 section into "Methods and mutators" |
http://perl6intro.com/#_functions_and_mutators this section is really quite confusing and has indeed caused confusion already https://www.reddit.com/r/perl6/comments/3vjuex/how_to_easily_tell_the_difference_between_a/
The text was updated successfully, but these errors were encountered: