Live data from Hacker News

Go for Pythonistas

sportshacker.net

1–2 of 2 posts

Re: Go for Pythonistas

#2
I think the last gotcha there is the wrong way to think about it. If you say slices are passed by reference you risk passing on a lot of mis-information. Instead, slices are a struct, with a pointer to an array, and are passed by value. I mean you can't explain the append behavior without knowing what a slice really is.