Re:So Google's Gemini Doesn't Like Python Programming and Sa...
by geysersam on Sunday February 25, 2024 @05:36PM
(#39505636)
That depends on the semantics. If the function returns the Person object with a particular name (obtained from an expensive dB query) then you want the mutated Person returned, not the now stale value that was returned on the previous call to the function.
[ Parent
| on HN ]
There are no comments on this comment yet.