Re:Ask HN: How is the job search coming along for people who...
by rockemsockem on Tuesday December 06, 2022 @04:40PM
(#33887441)
That example actually holds with what the parent comment said. You aren't trying to modify d exactly, you're modifying d's contents.
does not modify the passed in dictionary, because the reference 'd' itself is passed by value. So the function doesn't change what d references for the caller. Java works the same way.
[ Parent
| on HN ]
There are no comments on this comment yet.