So you have memory space which is reused… Which essentially makes it a mutable memory structure, where you update or add with new data keys… No?
So you have memory space which is reused… Which essentially makes it a mutable memory structure, where you update or add with new data keys… No?
Can you please give me an example - let’s say I have a big list of numbers and I need to find how many times each number is there.
I would expect a mutable dictionary/map and a single pass through. How would you do that without mutable datastructure?
So do you create new objects every time you need to change state?
The worst part is that vodka freezes right in the plastic cups. It’s not fun to drink vodka with icy mush.
That is always confusing to me. If I am on a bus stop: “This bus” doesn’t make sense, it doesn’t exist yet. Next bus, is the next occurance of event “Bus”.
If it’s Wednesday, the “this Friday” doesn’t really make sense. There doesn’t exist a Friday in Wednesday, that you call this. Next Friday however is quite clear - it’s next occurrence of event “Friday” on the timeline, so it’s the one in two days.