Steven D'Aprano writes:Something else:
> On Wed, 07 Nov 2012 00:23:44 +0000, MRAB wrote:
> > I prefer the term "reference semantics".
> Oh good, because what the world needs is yet another name for the
> - call by sharing
> Anything else?
There's a call-by-* versus pass-by-* distinction, where the call-by-*
- call-by-value is what most languages now use: argument expressions
- call-by-name was something Algol 60 had by default: something like
- call-by-need: argument expression is reduced to a value the first
- call-by-lazy (increasingly silly terminology, and I don't quite have
The modern confusions would then be mostly over the pass-by-* family,
- can one modify the argument effectively [Python: yes]
- can one modify the parameter with abandon [Python: don't]
- can one swap [Python: no]
- possibly: is it expensive to pass large objects? [Python: no]
The actual rule in Scheme, Java, and Python is the same simple and
Different communities use different words. Sometimes they use the same
(I'd have a few more things in the something-else department, but this
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.