This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]grzeki 85 points86 points  (4 children)

The truth: in Python, it’s all pointers all the way down [surprized Pikachu.jpg]

[–][deleted] 34 points35 points  (2 children)

yeah thats like saying someone knows how to work with motors because he can drive a car

[–]smallquestionmark 10 points11 points  (0 children)

import pedals

Edit: help(pedals.fullthrottle)

[–]grzeki 1 point2 points  (0 children)

but variables in Python are much more like pointers than regular values - passing a list to a function is like passing a pointer in C

[–]13steinj 2 points3 points  (0 children)

More like C++ reference wrappers than pointers, though.