> Why the assignment of the new code is delayed until the end of the bloc execution?
The assignment is performed immediately, but the old code is still being executed. Once the value was sent to the block, the block started executing and is no longer under the control of the HotSwapping object. On Tue, Oct 24, 2017 at 10:03 PM, Prof. Andrew P. Black <bl...@cs.pdx.edu> wrote: > > > On 23 Oct 2017, at 23:12 , Richard Sargent <richard.sargent@ > gemtalksystems.com> wrote: > > > > Imagine if I were to hand you a loaf of bread and tell you to feed it to > the dog. If I were then to hand you another loaf of bread, the dog would > continue eating the first loaf. We never told the dog to do anything else. > > If your dog is anything like my dog, telling her to do something else > wouldn’t change the situation very much. ;-) > > Andrew >