Python vs Swift Unlike many languages, Swift behaves like Maths, passing objects as values instead of as references, which saves a huge performance hit of having to clone objects to avoid other processes changing those objects unexpectedly. In Python everything has a pointer👨‍💻