3 ms·
(I didn't mean a function that measures time passing, I just meant the time that a computation takes.) Regarding my question which you answered, this means ther
by logicallee 4y ago
(I didn't mean a function that measures time passing, I just meant the time that a computation takes.) Regarding my question which you answered, this means there is no such thing as a pure function then, since any function has the "side effect" of making time pass that wouldn't have if you hadn't called it.
- bigDinosaur 4y agoThe time passes whether or not the function is called, calling a function does not cause time to pass. Time also seems to be a pure function: current state of the universe -> next state of the universe, which is neat.
- msla 4y ago> Time also seems to be a pure function: current state of the universe -> next state of the universe, which is neat. Certain interpretations of quantum mechanics would disagree that, if you put a given state of the universe into the "iterate the universe's state" function, you'll always get the same universe out the other end. The idea that quantum state transitions are truly random would foreclose on that.