I'm learning more about functional programming in Python: I understood that Tuples were an immutable data structure, which allows you to create objects that can't change. Now it came together for me that mathematical like functions require immutability in order to ensure there are no side effects (operates on the inputs, and produces an output with no changes in state). So using Tuples ensures that your data doesn't change at run time to support this programming style. #TDIL
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!