News for hackers. Stuff that matters.
Re:Reasons Python Sucks by city41 on Tuesday December 18, 2018 @11:23AM (#18707766)
But it’s still pass by value. Passing by ref allows swapping out the entire object, which is not possible in a language such as JavaScript.
Re:Reasons Python Sucks by sciurus on Tuesday December 18, 2018 @11:42AM (#18707949)
Right, but this is the same way Python works. Jumping back to the original argument in the post, the author claimed that Python was "going out of it's way to be different" by passing objects by reference value. C# provides a counterxample to that claim.