3 ms·
I'm asking you to provide the actual implementation of your hypothetical function now(). I don't need to know the implementation of the real function Time.now
by the_af 5y ago
I'm asking you to provide the actual implementation of your hypothetical function now().
I don't need to know the implementation of the real function Time.now from Ruby because, without looking at its source code, I can tell you that it has implicit arguments.
How can I tell this? Because it's impossible for your Ruby program to tell the time without some kind of interaction with an external source (be it the computer clock, the internet or whatever); this source is your implicit parameter and it's why two invocations of your function don't return the same value. It is impossible for your function not to have this source of time, either implicitly or explicitly.
If you disagree, then please explain how your function tells time.
- ukj 5y agoAnd I am asking you to provide the actual implementation of your hypothetical function equal(). I don't need to know the implementation of the real function == from any programming language because, without looking at any source code I can tell you that it has implicit arguments: a tautology. If you disagree, then please explain how equality functions.