[Tutor] beginning to code
Steve D'Aprano
steve+python at pearwood.info
Fri Sep 22 02:52:56 EDT 2017
More information about the Python-list mailing list
Fri Sep 22 02:52:56 EDT 2017
- Previous message (by thread): [Tutor] beginning to code
- Next message (by thread): [Tutor] beginning to code
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 22 Sep 2017 02:57 pm, Bill wrote: > I find Python to be more more > like Java, with regard to "passing objects by reference". Which is not a surprise, since both Python and Java use the same value passing style: pass by object reference, or pass by sharing if you prefer. Java people don't call it that. They call it pass by value, and categorically deny that it is pass by reference. (They're right about the second point.) It also the exact same passing style as used by Swift, except Swift calls it pass by reference, and denies it is pass by value. (They're right about the second point.) -- Steve “Cheer up,” they said, “things could be worse.” So I cheered up, and sure enough, things got worse.
- Previous message (by thread): [Tutor] beginning to code
- Next message (by thread): [Tutor] beginning to code
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list