Why are Python strings immutable? Best practices for using them
- What are the design reasons of making Python strings immutable? How does it make programming easier?
- I\'m used to mutable strings, like the ones in C. How am
-
2020-12-02 13:29
- Immutable objects are automatically threadsafe.
- You will find that using Python strings is trivially easy in comparison to the extreme pain associated with strings in C.