3 ms·
There are counter-examples: functions that return values while also having side effects, cases where the developer simply made a mistake. Coming from a languag
by macintux 5y ago
There are counter-examples: functions that return values while also having side effects, cases where the developer simply made a mistake.
Coming from a language with baked-in immutability, Python’s behavior in this regard was very difficult to get used to.