3 ms·
Yes, but pointers are more basic, since Python's internal references participate in garbage collection. If you would use pointers exclusively, then you'd have
by amelius 7y ago
Yes, but pointers are more basic, since Python's internal references participate in garbage collection.
If you would use pointers exclusively, then you'd have to write your own garbage collector. Also, accessing data would be more difficult, and you could not use Python's data types such as classes.